[Scummvm-git-logs] scummvm master -> b11c370fc2f4e27bbd7cac2b3197dc644d0690e7
dreammaster
paulfgilbert at gmail.com
Sun Oct 13 19:25:52 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b11c370fc2 GLK: ADRIFT: Correct unicode string type
Commit: b11c370fc2f4e27bbd7cac2b3197dc644d0690e7
https://github.com/scummvm/scummvm/commit/b11c370fc2f4e27bbd7cac2b3197dc644d0690e7
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-10-13T10:22:40-07:00
Commit Message:
GLK: ADRIFT: Correct unicode string type
Changed paths:
engines/glk/adrift/os_glk.cpp
diff --git a/engines/glk/adrift/os_glk.cpp b/engines/glk/adrift/os_glk.cpp
index d45a357..218e90d 100644
--- a/engines/glk/adrift/os_glk.cpp
+++ b/engines/glk/adrift/os_glk.cpp
@@ -740,13 +740,13 @@ static sc_int gsc_read_line_locale(sc_char *buffer, sc_int length, const gsc_loc
* the Latin1 locale are properly translated.
*/
if (gsc_unicode_enabled) {
- glui32 *unicode;
+ uint32 *unicode;
/*
* Allocate a unicode buffer long enough to hold all the characters,
* then read in a unicode line.
*/
- unicode = (glui32 *)gsc_malloc(length * sizeof(*unicode));
+ unicode = (uint32 *)gsc_malloc(length * sizeof(*unicode));
g_vm->glk_request_line_event_uni(gsc_main_window, unicode, length, 0);
gsc_event_wait(evtype_LineInput, &event);
More information about the Scummvm-git-logs
mailing list