Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #918801 » 0007-sdl2-Drop-unused-free_bcgd_order_widgets.patch

master - Marko Lindqvist, 2021-01-31 08:53 AM

View differences:

client/gui-sdl2/menu.c
998 998
  }
999 999
}
1000 1000

  
1001
/**********************************************************************//**
1002
  Free surfaces of the unit order widgets.
1003
  TODO: Unused -> Remove
1004
**************************************************************************/
1005
void free_bcgd_order_widgets(void)
1006
{
1007
  struct widget *tmp_widget = begin_order_widget_list;
1008

  
1009
  while (TRUE) {
1010
    FREESURFACE(tmp_widget->gfx);
1011

  
1012
    if (tmp_widget == end_order_widget_list) {
1013
      break;
1014
    }
1015

  
1016
    tmp_widget = tmp_widget->next;
1017
  }
1018
}
1019

  
1020 1001
/* ============================== Native =============================== */
1021 1002

  
1022 1003
/**********************************************************************//**
client/gui-sdl2/menu.h
1
/********************************************************************** 
1
/***********************************************************************
2 2
 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 3
   This program is free software; you can redistribute it and/or modify
4 4
   it under the terms of the GNU General Public License as published by
......
28 28
void delete_units_order_widgets(void);
29 29
void update_order_widgets(void);
30 30
void undraw_order_widgets(void);
31
void free_bcgd_order_widgets(void);
32 31
void disable_order_buttons(void);
33 32
void enable_order_buttons(void);
34 33

  
35
- 
(1-1/3)