diff options
author | Paul Gilbert | 2018-10-28 14:43:09 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | ffe0f5220bef728938847f54bdc4e489739d6ded (patch) | |
tree | f2bc74f115b5cfc36932b6b4901b0d5400caf3bd /engines/gargoyle/unicode.cpp | |
parent | 13e2838715247b6b6ca5b17d61f80fa516d23c34 (diff) | |
download | scummvm-rg350-ffe0f5220bef728938847f54bdc4e489739d6ded.tar.gz scummvm-rg350-ffe0f5220bef728938847f54bdc4e489739d6ded.tar.bz2 scummvm-rg350-ffe0f5220bef728938847f54bdc4e489739d6ded.zip |
GLK: Converted fillRect to use a Rect to specify bounds
Diffstat (limited to 'engines/gargoyle/unicode.cpp')
-rw-r--r-- | engines/gargoyle/unicode.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/gargoyle/unicode.cpp b/engines/gargoyle/unicode.cpp index 601d8f0e79..c547d2bcb8 100644 --- a/engines/gargoyle/unicode.cpp +++ b/engines/gargoyle/unicode.cpp @@ -33,22 +33,6 @@ size_t strlen_uni(const uint32 *s) { return len; } -int strToInt(const char *s) { - if (!*s) - // No string at all - return 0; - else if (toupper(s[strlen(s) - 1]) != 'H') - // Standard decimal string - return atoi(s); - - // Hexadecimal string - uint tmp = 0; - int read = sscanf(s, "%xh", &tmp); - if (read < 1) - error("strToInt failed on string \"%s\"", s); - return (int)tmp; -} - glui32 bufferChangeCase(glui32 *buf, glui32 len, glui32 numchars, BufferChangeCase destcase, BufferChangeCond cond, int changerest) { glui32 ix, jx; |