~ubuntu-branches/debian/sid/freeciv/sid

« back to all changes in this revision

Viewing changes to client/gui-gtk-2.0/themes.c

  • Committer: Package Import Robot
  • Author(s): Karl Goetz
  • Date: 2011-12-31 11:39:58 UTC
  • mfrom: (1.2.20)
  • Revision ID: package-import@ubuntu.com-20111231113958-laureotb00yk2331
Tags: 2.3.1-1
* Switch to short style dh with overrides
  - Update control to 7.0.50 and compat to 7
  - Various packaging cleanups, fixes various issues with our
    packaging that appears to have been broken for some time.
* Change our dependency away from ttf-sazanami-gothic per the
  request of its maintainer (Closes: #642944)
* New package freeciv-client-extras with freeciv-modpack in it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
****************************************************************************/
47
47
static void load_default_files(void)
48
48
{
49
 
  int i;
 
49
  int i = 0;
50
50
  gchar** f;
51
51
  
52
52
  if (default_files != NULL) {
54
54
  }
55
55
  
56
56
  f = gtk_rc_get_default_files();
57
 
  
58
 
  for (i = 0; f[i] ; i++) {
59
 
    /* nothing */
 
57
 
 
58
  if (f != NULL) {
 
59
    for (i = 0; f[i] ; i++) {
 
60
      /* nothing */
 
61
    }
60
62
  }
61
63
  num_default_files = i;
62
64
  default_files = fc_malloc(sizeof(char*) * (i + 2));