Browse Source

Merge pull request #2056 from diasurgical/bugfix_DrawSLine

stores: add bugfix comment for DrawSLine
pull/831/head^2
Robin Eklind 6 years ago committed by GitHub
parent
commit
a67ae6db3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Source/stores.cpp

8
Source/stores.cpp

@ -203,13 +203,13 @@ void DrawSLine(int y)
if (stextsize) {
xy = SCREENXY(PANEL_LEFT + 26, 25);
yy = PitchTbl[sy + 198] + 26 + PANEL_X;
width = 586 / 4;
line = BUFFER_WIDTH - 586;
width = 586 / 4; // BUGFIX: should be 587, not 586
line = BUFFER_WIDTH - 586; // BUGFIX: should be 587, not 586
} else {
xy = SCREENXY(PANEL_LEFT + 346, 25);
yy = PitchTbl[sy + 198] + 346 + PANEL_X;
width = 266 / 4;
line = BUFFER_WIDTH - 266;
width = 266 / 4; // BUGFIX: should be 267, not 266
line = BUFFER_WIDTH - 266; // BUGFIX: should be 267, not 266
}
/// ASSERT: assert(gpBuffer);

Loading…
Cancel
Save