/[svn]/gigedit/trunk/src/gigedit/dimensionmanager.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/dimensionmanager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2169 by persson, Sun Mar 6 07:51:04 2011 UTC revision 2507 by persson, Sun Jan 12 19:37:55 2014 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2006-2011 Andreas Persson   * Copyright (C) 2006-2014 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 288  void DimensionManager::addDimension() { Line 288  void DimensionManager::addDimension() {
288              for (int i = 1; i <= 5; i++) {              for (int i = 1; i <= 5; i++) {
289                  char buf[3];                  char buf[3];
290                  sprintf(buf, "%d", 1 << i);                  sprintf(buf, "%d", 1 << i);
291  #if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2  #if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 24) || GTKMM_MAJOR_VERSION < 2
292                  comboZones.append_text(buf);                  comboZones.append_text(buf);
293  #else  #else
294                  comboZones.append(buf);                  comboZones.append(buf);

Legend:
Removed from v.2169  
changed lines
  Added in v.2507

  ViewVC Help
Powered by ViewVC