Code

typo in xMaxYMid
authorspeleo3 <speleo3@users.sourceforge.net>
Fri, 12 Dec 2008 13:16:12 +0000 (13:16 +0000)
committerspeleo3 <speleo3@users.sourceforge.net>
Fri, 12 Dec 2008 13:16:12 +0000 (13:16 +0000)
src/marker.cpp
src/sp-root.cpp
src/sp-symbol.cpp

index 5b3267257ede88eee9aa985216527361107b3889..59d5355ef99a13122d46897ffe58f526e1a8247d 100644 (file)
@@ -310,7 +310,7 @@ sp_marker_set (SPObject *object, unsigned int key, const gchar *value)
                                align = SP_ASPECT_XMIN_YMID;
                        } else if (!strcmp (c, "xMidYMid")) {
                                align = SP_ASPECT_XMID_YMID;
-                       } else if (!strcmp (c, "xMaxYMin")) {
+                       } else if (!strcmp (c, "xMaxYMid")) {
                                align = SP_ASPECT_XMAX_YMID;
                        } else if (!strcmp (c, "xMinYMax")) {
                                align = SP_ASPECT_XMIN_YMAX;
index 9c9fdb207bb4e94c993809d2e56d0b6af91ea043..5a9cce8fbda6b157fc2f117d8ce35a4e3b8dbc27 100644 (file)
@@ -309,7 +309,7 @@ sp_root_set(SPObject *object, unsigned int key, gchar const *value)
                     align = SP_ASPECT_XMIN_YMID;
                 } else if (!strcmp(c, "xMidYMid")) {
                     align = SP_ASPECT_XMID_YMID;
-                } else if (!strcmp(c, "xMaxYMin")) {
+                } else if (!strcmp(c, "xMaxYMid")) {
                     align = SP_ASPECT_XMAX_YMID;
                 } else if (!strcmp(c, "xMinYMax")) {
                     align = SP_ASPECT_XMIN_YMAX;
index 5525513c156de6c044e52df7371d506343981d63..f70a19b06a6c5c56db457302ba022914b12d3f1c 100644 (file)
@@ -201,7 +201,7 @@ sp_symbol_set (SPObject *object, unsigned int key, const gchar *value)
                 align = SP_ASPECT_XMIN_YMID;
             } else if (!strcmp (c, "xMidYMid")) {
                 align = SP_ASPECT_XMID_YMID;
-            } else if (!strcmp (c, "xMaxYMin")) {
+            } else if (!strcmp (c, "xMaxYMid")) {
                 align = SP_ASPECT_XMAX_YMID;
             } else if (!strcmp (c, "xMinYMax")) {
                 align = SP_ASPECT_XMIN_YMAX;