Mercurial > public > ostc4
comparison Discovery/Src/gfx_engine.c @ 1076:c87753e73eb8 Icon_Integration
Dev bugfix 50 pixel spacing:
the control char '\007' was used for the new 50 pixel format style. This character was already in use as '\a' invert (same value different spelling) => The 50 pixel format has been switched to the control char '\033' which is not in use.
| author | Ideenmodellierer |
|---|---|
| date | Sun, 22 Feb 2026 21:23:57 +0100 |
| parents | 3d9994033ae6 |
| children |
comparison
equal
deleted
inserted
replaced
| 1075:ef99fff2d2de | 1076:c87753e73eb8 |
|---|---|
| 2137 settings.Xdelta = hgfx->WindowTab - hgfx->WindowX0; | 2137 settings.Xdelta = hgfx->WindowTab - hgfx->WindowX0; |
| 2138 else | 2138 else |
| 2139 if(*pText == '\r') // carriage return, no newline | 2139 if(*pText == '\r') // carriage return, no newline |
| 2140 settings.Xdelta = 0; | 2140 settings.Xdelta = 0; |
| 2141 else | 2141 else |
| 2142 if((*pText == '\007')) /* jump to next 50 pixel offset */ | 2142 if((*pText == '\033')) /* jump to next 50 pixel offset */ |
| 2143 { | 2143 { |
| 2144 settings.Xdelta = ((settings.Xdelta / 50) + 1) * 50; | 2144 settings.Xdelta = ((settings.Xdelta / 50) + 1) * 50; |
| 2145 } | 2145 } |
| 2146 else | 2146 else |
| 2147 if((*pText == '\001')) // center | 2147 if((*pText == '\001')) // center |
