From: John Darrington Date: Sat, 11 May 2013 07:21:01 +0000 (+0200) Subject: Gnumeric Reader: Use symbolic value instead of literal integer X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f952dfd624fbf41fb2dfe95e373016cfa8569a;p=pspp Gnumeric Reader: Use symbolic value instead of literal integer --- diff --git a/src/data/gnumeric-reader.c b/src/data/gnumeric-reader.c index a0a4766652..2356adcc76 100644 --- a/src/data/gnumeric-reader.c +++ b/src/data/gnumeric-reader.c @@ -782,7 +782,7 @@ gnumeric_make_reader (struct spreadsheet *spreadsheet, xmlChar *attr = xmlTextReaderGetAttribute (r->rsd.xtr, _xml ("ValueType")); - if ( NULL == attr || 60 != _xmlchar_to_int (attr)) + if ( NULL == attr || VALUE_STRING != _xmlchar_to_int (attr)) var_spec [idx].width = 0; free (attr);