SF.net SVN: geany:[5600] trunk/src/build.c
colombanw at users.sourceforge.net
colombanw at xxxxx
Thu Mar 17 16:14:56 UTC 2011
Revision: 5600
http://geany.svn.sourceforge.net/geany/?rev=5600&view=rev
Author: colombanw
Date: 2011-03-17 16:14:56 +0000 (Thu, 17 Mar 2011)
Log Message:
-----------
Don't use non-C89 initializers
Modified Paths:
--------------
trunk/src/build.c
Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c 2011-03-17 13:02:13 UTC (rev 5599)
+++ trunk/src/build.c 2011-03-17 16:14:56 UTC (rev 5600)
@@ -189,10 +189,10 @@
}
-static const gchar *config_keys[] = {
- [GEANY_BC_LABEL] = "LB",
- [GEANY_BC_COMMAND] = "CM",
- [GEANY_BC_WORKING_DIR] = "WD"
+static const gchar *config_keys[GEANY_BC_CMDENTRIES_COUNT] = {
+ "LB", /* label */
+ "CM", /* command */
+ "WD" /* working directory */
};
/*-----------------------------------------------------
@@ -1762,7 +1762,7 @@
for (i = 0; i < GEANY_BC_CMDENTRIES_COUNT; i++)
gtk_widget_modify_text(r->entries[i], GTK_STATE_NORMAL, color);
-};
+}
static void set_build_command_entry_text(GtkWidget *wid, const gchar *text)
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