diff options
Diffstat (limited to 'src/graphics/Graphics.h')
| -rw-r--r-- | src/graphics/Graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Graphics.h b/src/graphics/Graphics.h index 580f2c0..de1c2e8 100644 --- a/src/graphics/Graphics.h +++ b/src/graphics/Graphics.h @@ -203,7 +203,7 @@ public: //Font/text metrics static int CharIndexAtPosition(char *s, int positionX, int positionY); static int PositionAtCharIndex(char *s, int charIndex, int & positionX, int & positionY); - static int CharWidth(char c); + static int CharWidth(unsigned char c); static int textnwidth(char *s, int n); static void textnpos(char *s, int n, int w, int *cx, int *cy); static int textwidthx(char *s, int w); |
