|
From: Shigeharu T. <sh...@ie...> - 2006-03-18 07:13:36
|
shige 03/18 2006
----------------
On gnuplot QandA BBS (Japanese), the following problem was
reported:
wgnuplot (gnuplot-4.1) may fail by
set term win enh
plot sin(x)
To fix the problem, Akira Kakuto (ka...@fu...)
submited the following patch:
----- From here -----
--- src/graphics.c.orig Sun Mar 12 16:57:38 2006
+++ src/graphics.c Sat Mar 18 16:07:05 2006
@@ -345,7 +345,7 @@
/* This should go *inside* label_width(), but it messes up the key title */
/* Imperfect check for subscripts */
if (term->flags & TERM_ENHANCED_TEXT)
- if (strchr(axis_array[FIRST_X_AXIS].label.text,'_'))
+ if (axis_array[FIRST_X_AXIS].label.text && strchr(axis_array[FIRST_X_AXIS].label.text,'_'))
xlablin++;
#endif
if (axis_array[SECOND_X_AXIS].label.text)
----- To here -----
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
sh...@ie... TEL(&FAX): +81-257-22-8161
+========================================================+
|