gnumeric r17101 - trunk/plugins/xbase



Author: mortenw
Date: Tue Jan 27 01:42:21 2009
New Revision: 17101
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17101&view=rev

Log:
27?



Modified:
   trunk/plugins/xbase/boot.c

Modified: trunk/plugins/xbase/boot.c
==============================================================================
--- trunk/plugins/xbase/boot.c	(original)
+++ trunk/plugins/xbase/boot.c	Tue Jan 27 01:42:21 2009
@@ -163,12 +163,10 @@
 		return value_new_int (tmp);
 	}
 	default: {
-			char str[27];
-			snprintf (str, 27, "Field type '%c' unsupported",
-				  field->type);
-			g_free (s);
-			return value_new_string (str);
-		}
+		char *s = g_strdup_printf ("Field type '0x%02x' unsupported",
+					   field->type);
+		return value_new_string_nocopy (s);
+	}
 	}
 }
 



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