X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fbkgrnd2d%2Fdialog.cpp;h=7b8a2137144c8be9521cc9a3d3df50a15e89b8e6;hp=2529bab609d39ed86a49c02d1a4d40f86bdceb80;hb=48410b113dd2036e69dbf723a39ec9af02fc9b12;hpb=561e062c8724752601cb9f9370321930fd5aeed1 diff --git a/contrib/bkgrnd2d/dialog.cpp b/contrib/bkgrnd2d/dialog.cpp index 2529bab6..7b8a2137 100644 --- a/contrib/bkgrnd2d/dialog.cpp +++ b/contrib/bkgrnd2d/dialog.cpp @@ -36,6 +36,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // spaces to make label nice and big #define NO_FILE_MSG " (no file loaded) " +#ifdef _WIN32 + // TTimo: THIS IS UGLY +#define snprintf _snprintf +#endif + static GtkWidget *pDialogWnd; static GtkWidget *pNotebook; static GtkTooltips *pTooltips;