Home | History | Annotate | Download | only in patches
      1 --- dasher-4.9.0/Src/Common/Types/int64.h-orig	2008-06-05 18:53:35.093464000 -0500
      2 +++ dasher-4.9.0/Src/Common/Types/int64.h	2008-06-05 18:54:19.359343000 -0500
      3 @@ -22,8 +22,12 @@
      4  
      5  #include "../myassert.h"
      6  
      7 +#ifndef INT64_MAX
      8  #define INT64_MAX std::numeric_limits<int64>::max()
      9 +#endif
     10 +#ifndef INT64_MIN
     11  #define INT64_MIN std::numeric_limits<int64>::min()
     12 +#endif
     13  
     14  #ifdef _DEBUG
     15  
     16 --- dasher-4.9.0/Src/Gtk2/dasher_main.cpp-orig	2008-06-05 18:54:59.426187000 -0500
     17 +++ dasher-4.9.0/Src/Gtk2/dasher_main.cpp	2008-06-05 18:58:27.225382000 -0500
     18 @@ -996,11 +996,9 @@ dasher_main_set_window_title(DasherMain 
     19    else {
     20      // Note to translators: This is a format string for the name of the dasher
     21      // program as it appears in a window, %s will be the filename.
     22 -    gchar * titleFormat = _("Dasher - %s");
     23 -    int len = strlen(szFilename);
     24 -    gchar title[len+strlen(titleFormat)];
     25 -    snprintf(title, sizeof(title), titleFormat, szFilename);
     26 +    gchar *title = g_strdup_printf ("Dasher - %s", szFilename);
     27      gtk_window_set_title(GTK_WINDOW(pPrivate->pMainWindow), title);
     28 +    g_free (title);
     29    }
     30  }
     31  
     32