change os_check_unicode() 2nd argument to zchar
authorborg323 <4010067-borg323@users.noreply.gitlab.com>
Sun, 7 Jul 2019 11:16:04 +0000 (14:16 +0300)
committerborg323 <4010067-borg323@users.noreply.gitlab.com>
Sun, 7 Jul 2019 11:16:04 +0000 (14:16 +0300)
src/common/frotz.h
src/curses/ux_text.c
src/dumb/dumb_output.c
src/sdl/sf_fonts.c

index e09480ac9a31e5be8fe4dc131f253a8012a477f8..9f4513f4f15d8186089b73e086d6a441a5113910 100644 (file)
@@ -807,7 +807,7 @@ Zwindow * curwinrec( void);
 
 void   os_beep (int);
 int    os_char_width (zchar);
-int    os_check_unicode (int, zword);
+int    os_check_unicode (int, zchar);
 void   os_display_char (zchar);
 void   os_display_string (const zchar *);
 void   os_draw_picture (int, int, int);
index 3a04ea769d8fe60d717bf5ea040d5ed8a4c7f5b9..f0fb4253d0b3c5da861ede07dd800c23f74b335b 100644 (file)
@@ -284,7 +284,7 @@ void os_display_string (const zchar *s)
  * displayed, and bit 1 if it can be input.
  *
  */
-int os_check_unicode(int font, zword c)
+int os_check_unicode(int font, zchar c)
 {
 /* Assume full input and output.  */
     return 3;
index 0e4f78fa43930d076a85be310a0983d402510721..9d716bdb0e7152bad601f4c8d035a2fbf66d13cb 100644 (file)
@@ -90,7 +90,7 @@ static char *dumb_changes_row(int r)
     return screen_changes + r * h_screen_cols;
 }
 
-int os_check_unicode(int font, zword c)
+int os_check_unicode(int font, zchar c)
 {
 /* Only UTF-8 output, no input yet.  */
     return 1;
index 63f85046957de7ac475acfacfa1bf6a715e7a272..74443925e2ccc0793171d4624b1b8efc5fc256d6 100644 (file)
@@ -434,7 +434,7 @@ void sf_poptextsettings()
  * 
  *
  */
-int os_check_unicode(int font, zword c)
+int os_check_unicode(int font, zchar c)
   {
   return ((current.font->hasglyph(current.font,c,0) != 0) ? 3 : 2);
   }