gimp r27948 - trunk/app/core



Author: martinn
Date: Sun Jan 25 19:28:25 2009
New Revision: 27948
URL: http://svn.gnome.org/viewvc/gimp?rev=27948&view=rev

Log:
Format app/core/gimpimage.c a bit nicer.


Modified:
   trunk/app/core/gimpimage.c

Modified: trunk/app/core/gimpimage.c
==============================================================================
--- trunk/app/core/gimpimage.c	(original)
+++ trunk/app/core/gimpimage.c	Sun Jan 25 19:28:25 2009
@@ -3720,15 +3720,10 @@
 
   switch (gimp_image_base_type (image))
     {
-    case GIMP_RGB:
-      return empty ? _("RGB-empty") : _("RGB");
-    case GIMP_GRAY:
-      return empty ? _("grayscale-empty") : _("grayscale");
-    case GIMP_INDEXED:
-      return empty ? _("indexed-empty") : _("indexed");
-    default:
-      return "unkown";
-      break;
+    case GIMP_RGB:     return empty ? _("RGB-empty")       : _("RGB");
+    case GIMP_GRAY:    return empty ? _("grayscale-empty") : _("grayscale");
+    case GIMP_INDEXED: return empty ? _("indexed-empty")   : _("indexed");
+    default:           return "unkown";
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]