Ecore_Getopt: Fix attributions
authoretrunko <etrunko@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 13 Aug 2010 15:34:25 +0000 (15:34 +0000)
committeretrunko <etrunko@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 13 Aug 2010 15:34:25 +0000 (15:34 +0000)
Modern languages in general use the '=' character for attribution, while
',' character is for something else.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@51082 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/Ecore_Getopt.h

index a36c7a0..f2ea6f7 100644 (file)
@@ -249,7 +249,7 @@ extern "C" {
 #define ECORE_GETOPT_STORE_DEF_UINT(shortname, longname, help, default_value) \
   ECORE_GETOPT_STORE_DEF(shortname, longname, help,                    \
                         ECORE_GETOPT_TYPE_UINT,                        \
-                        {.uintv, default_value})
+                        {.uintv = default_value})
 #define ECORE_GETOPT_STORE_DEF_ULONG(shortname, longname, help, default_value) \
   ECORE_GETOPT_STORE_DEF(shortname, longname, help,                    \
                         ECORE_GETOPT_TYPE_ULONG,                       \
@@ -293,7 +293,7 @@ extern "C" {
   ECORE_GETOPT_STORE_FULL(shortname, longname, help, metavar,          \
                          ECORE_GETOPT_TYPE_UINT,                       \
                          arg_requirement,                              \
-                         {.uintv, default_value})
+                         {.uintv = default_value})
 #define ECORE_GETOPT_STORE_FULL_ULONG(shortname, longname, help, metavar, arg_requirement, default_value) \
   ECORE_GETOPT_STORE_FULL(shortname, longname, help, metavar,          \
                          ECORE_GETOPT_TYPE_ULONG,                      \