Author: cazfi
Date: Thu Aug 20 06:47:13 2015
New Revision: 29608

URL: http://svn.gna.org/viewcvs/freeciv?rev=29608&view=rev
Log:
Corrections to gui-sdl2/widget_edit.c comments.

Modified:
    branches/S2_6/client/gui-sdl2/widget_edit.c

Modified: branches/S2_6/client/gui-sdl2/widget_edit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl2/widget_edit.c?rev=29608&r1=29607&r2=29608&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl2/widget_edit.c (original)
+++ branches/S2_6/client/gui-sdl2/widget_edit.c Thu Aug 20 06:47:13 2015
@@ -132,7 +132,7 @@
   on position 'pEdit_Widget->size.x , pEdit_Widget->size.y'
 
   Graphic is taken from 'pEdit_Widget->theme'
-  Text is taken from   'pEdit_Widget->sting16'
+  Text is taken from   'pEdit_Widget->string_utf8'
 
   if flag 'FW_DRAW_THEME_TRANSPARENT' is set theme will be blit
   transparent ( Alpha = 128 )
@@ -337,9 +337,9 @@
   Create ( malloc ) Edit Widget structure.
 
   Edit Theme graphic is taken from pTheme->Edit surface;
-  Text is taken from 'pString16'.
-
-  'length' parametr determinate width of Edit rect.
+  Text is taken from 'pstr'.
+
+  'length' parameter determinate width of Edit rect.
 
   This function determinate future size of Edit ( width, high ) and
   save this in: pWidget->size rectangle ( SDL_Rect )
@@ -409,15 +409,15 @@
   This code allow you to add, del unichar from unistring.
 
   Graphic is taken from 'pEdit_Widget->theme'
-  OldText is taken from        'pEdit_Widget->sting16'
-
-  NewText is returned to 'pEdit_Widget->sting16' ( after free OldText )
+  OldText is taken from        'pEdit_Widget->string_utf8'
+
+  NewText is returned to 'pEdit_Widget->string_utf8' ( after free OldText )
 
   if flag 'FW_DRAW_THEME_TRANSPARENT' is set theme will be blit
   transparent ( Alpha = 128 )
 
-  NOTE: This functions can return NULL in 'pEdit_Widget->sting16->text' but
-        never free 'pEdit_Widget->sting16' struct.
+  NOTE: This functions can return NULL in 'pEdit_Widget->string_utf8->text' but
+        never free 'pEdit_Widget->string_utf8' struct.
 **************************************************************************/
 static Uint16 edit_key_down(SDL_Keysym key, void *pData)
 {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to