octave-maintainers
[Top][All Lists]
Advanced

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

small fix for color_values::c2rgb


From: Kai Habel
Subject: small fix for color_values::c2rgb
Date: Thu, 14 Jun 2007 22:44:18 +0000
User-agent: IceDove 1.5.0.10 (X11/20070329)

Hello,

I think the following fix is needed for the method color_values::c2rgb
to set a black color.

--- graphics.cc.orig    2007-06-14 22:24:05.000000000 +0000
+++ graphics.cc 2007-06-14 22:25:42.000000000 +0000
@@ -103,6 +103,9 @@

   switch(c)
     {
+    case 'k':
+      break;
+
     case 'r':
       tmp_rgb[0] = 1;
       break;

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]