SF.net SVN: geany: [2636] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Jun 3 16:30:54 UTC 2008


Revision: 2636
          http://geany.svn.sourceforge.net/geany/?rev=2636&view=rev
Author:   eht16
Date:     2008-06-03 09:30:54 -0700 (Tue, 03 Jun 2008)

Log Message:
-----------
Fix slightly wrong preprocessor checks.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-02 16:30:27 UTC (rev 2635)
+++ trunk/ChangeLog	2008-06-03 16:30:54 UTC (rev 2636)
@@ -1,3 +1,9 @@
+2008-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/main.c:
+   Fix slightly wrong preprocessor checks.
+
+
 2008-06-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/documentprivate.h, src/prefs.c, src/plugindata.h,

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2008-06-02 16:30:27 UTC (rev 2635)
+++ trunk/src/main.c	2008-06-03 16:30:54 UTC (rev 2636)
@@ -35,7 +35,7 @@
 
 #include "geany.h"
 
-#if HAVE_LOCALE_H
+#ifdef HAVE_LOCALE_H
 # include <locale.h>
 #endif
 
@@ -455,7 +455,7 @@
 #ifdef ENABLE_NLS
 	gchar *locale_dir = NULL;
 
-#if HAVE_LOCALE_H
+#ifdef HAVE_LOCALE_H
 	setlocale(LC_ALL, "");
 #endif
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list