diff src/graphics.cc @ 6565:3e2cfed6c87e before-object-branch

[project @ 2007-04-23 20:31:52 by jwe]
author jwe
date Mon, 23 Apr 2007 20:31:52 +0000
parents efa1716abd4c
children 9520d1004a73
line wrap: on
line diff
--- a/src/graphics.cc	Mon Apr 23 19:33:36 2007 +0000
+++ b/src/graphics.cc	Mon Apr 23 20:31:52 2007 +0000
@@ -116,9 +116,9 @@
 
   operator octave_value (void) const
   {
-    Matrix retval (1, 4);
-
-    for (int i = 0; i < 4 ; i++)
+    Matrix retval (1, 3);
+
+    for (int i = 0; i < 3 ; i++)
       retval(i) = xrgba[i];
 
     return retval;