extensions/HSV: update model docs
authorØyvind Kolås <pippin@gimp.org>
Wed, 24 Jul 2019 13:28:38 +0000 (15:28 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 24 Jul 2019 13:28:38 +0000 (15:28 +0200)
extensions/HSV.c

index aa301e3a33d405a98661c31d3abb38fe1b6dbc1b..5659386663b0ee3d4e7ff351d4753958fa1c4ca5 100644 (file)
@@ -95,23 +95,23 @@ components (void)
 static void
 models (void)
 {
+
   babl_model_new (
-    "name", "HSVA",
+    "name", "HSV",
     babl_component ("hue"),
     babl_component ("saturation"),
     babl_component ("value"),
-    babl_component ("alpha"),
-    "alpha",
-    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B), with separate alpha.",
+    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B).",
     NULL
   );
-
   babl_model_new (
-    "name", "HSV",
+    "name", "HSVA",
     babl_component ("hue"),
     babl_component ("saturation"),
     babl_component ("value"),
-    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B).",
+    babl_component ("alpha"),
+    "alpha",
+    "doc", "HSV with separate alpha.",
     NULL
   );
 }