Browse Source

Calculate x posistion of PrintSBookStr

pull/843/head
Anders Jenbo 6 years ago committed by GitHub
parent
commit
cc09635b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/control.cpp

2
Source/control.cpp

@ -2405,7 +2405,7 @@ void PrintSBookStr(int x, int y, BOOL cjustflag, char *pszStr, char col)
char *tmp;
int screen_x, line, width;
width = PitchTbl[y] + x + RIGHT_PANEL + 120;
width = PitchTbl[y] + x + RIGHT_PANEL_X + SPLICONLENGTH;
line = 0;
if (cjustflag) {
screen_x = 0;

Loading…
Cancel
Save