From c0b89ac5bfb90835ef01573267020e42d4fe070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 23 Aug 2015 12:17:05 +0200 Subject: Imported Upstream version 1.8.0 --- plot/Imakefile | 0 plot/Jamfile | 0 plot/License.txt | 0 plot/Readme.txt | 0 plot/X3DOM_LICENSE.txt | 0 plot/afiles | 0 plot/plot.c | 2 ++ plot/plot.h | 0 plot/vrml.c | 8 ++++++-- plot/vrml.h | 0 plot/x3dom.css | 0 plot/x3dom.css.h | 0 plot/x3dom.js | 0 plot/x3dom.js.h | 0 14 files changed, 8 insertions(+), 2 deletions(-) mode change 100644 => 100755 plot/Imakefile mode change 100644 => 100755 plot/Jamfile mode change 100644 => 100755 plot/License.txt mode change 100644 => 100755 plot/Readme.txt mode change 100644 => 100755 plot/X3DOM_LICENSE.txt mode change 100644 => 100755 plot/afiles mode change 100644 => 100755 plot/plot.c mode change 100644 => 100755 plot/plot.h mode change 100644 => 100755 plot/vrml.c mode change 100644 => 100755 plot/vrml.h mode change 100644 => 100755 plot/x3dom.css mode change 100644 => 100755 plot/x3dom.css.h mode change 100644 => 100755 plot/x3dom.js mode change 100644 => 100755 plot/x3dom.js.h (limited to 'plot') diff --git a/plot/Imakefile b/plot/Imakefile old mode 100644 new mode 100755 diff --git a/plot/Jamfile b/plot/Jamfile old mode 100644 new mode 100755 diff --git a/plot/License.txt b/plot/License.txt old mode 100644 new mode 100755 diff --git a/plot/Readme.txt b/plot/Readme.txt old mode 100644 new mode 100755 diff --git a/plot/X3DOM_LICENSE.txt b/plot/X3DOM_LICENSE.txt old mode 100644 new mode 100755 diff --git a/plot/afiles b/plot/afiles old mode 100644 new mode 100755 diff --git a/plot/plot.c b/plot/plot.c old mode 100644 new mode 100755 index bc993a8..948cb64 --- a/plot/plot.c +++ b/plot/plot.c @@ -968,6 +968,8 @@ static LRESULT CALLBACK MainWndProc( case WM_CHAR: debugf(("It's a char message, wParam = 0x%x\n",wParam)); switch(wParam) { + case '\r': + case '\n': case ' ': /* Space */ debugf(("It's a SPACE, so signal it\n")); plot_signal = 1; diff --git a/plot/plot.h b/plot/plot.h old mode 100644 new mode 100755 diff --git a/plot/vrml.c b/plot/vrml.c old mode 100644 new mode 100755 index b077cdb..5b3f9a1 --- a/plot/vrml.c +++ b/plot/vrml.c @@ -1314,8 +1314,10 @@ static void check_format() { /* Return the global format file extension */ static char *ret_ext(vrml_fmt fmt) { - if (fmt == fmt_uninit) + if (fmt == fmt_uninit) { check_format(); + fmt = g_fmt; + } if (fmt == fmt_x3dom) return ".x3d.html"; @@ -1327,8 +1329,10 @@ static char *ret_ext(vrml_fmt fmt) { /* Return the global format type name */ static char *ret_format(vrml_fmt fmt) { - if (fmt == fmt_uninit) + if (fmt == fmt_uninit) { check_format(); + fmt = g_fmt; + } if (fmt == fmt_x3dom) return "X3DOM"; diff --git a/plot/vrml.h b/plot/vrml.h old mode 100644 new mode 100755 diff --git a/plot/x3dom.css b/plot/x3dom.css old mode 100644 new mode 100755 diff --git a/plot/x3dom.css.h b/plot/x3dom.css.h old mode 100644 new mode 100755 diff --git a/plot/x3dom.js b/plot/x3dom.js old mode 100644 new mode 100755 diff --git a/plot/x3dom.js.h b/plot/x3dom.js.h old mode 100644 new mode 100755 -- cgit v1.2.3