Author: cazfi
Date: Sun Aug 30 14:47:29 2015
New Revision: 29736

URL: http://svn.gna.org/viewcvs/freeciv?rev=29736&view=rev
Log:
Added missing function header for sdl2-client's is_anim_enabled() and renamed it
as is_focus_anim_enabled().

See patch #6270

Modified:
    trunk/client/gui-sdl2/mapview.c

Modified: trunk/client/gui-sdl2/mapview.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/mapview.c?rev=29736&r1=29735&r2=29736&view=diff
==============================================================================
--- trunk/client/gui-sdl2/mapview.c     (original)
+++ trunk/client/gui-sdl2/mapview.c     Sun Aug 30 14:47:29 2015
@@ -957,7 +957,10 @@
   }
 }
 
-static bool is_anim_enabled(void)
+/**************************************************************************
+  Is the focus animation enabled?
+**************************************************************************/
+static bool is_focus_anim_enabled(void)
 {
   return (SDL_Client_Flags & CF_FOCUS_ANIMATION) == CF_FOCUS_ANIMATION;
 }
@@ -1016,7 +1019,7 @@
   redraw_unit_info_label(punitlist);
 
   if (punitlist) {
-    if (!is_anim_enabled()) {
+    if (!is_focus_anim_enabled()) {
       enable_focus_animation();
     }
   } else {


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

Reply via email to