diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-07-27 17:02:24 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-07-27 17:02:24 +0200 |
commit | 7a3addfd66c6b310e5bb32d831a3b362245fee11 (patch) | |
tree | d7fb7bab18c9ffb31ba9c193fa056284b4d1e9ad /src/gipfel.cxx | |
parent | 68e76211dffad356f35f381cd2d9103029e92e9b (diff) |
check whether get_distortion_profile_name() succeeded
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r-- | src/gipfel.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx index b37bd28..b15153d 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -202,6 +202,7 @@ void load_distortion_cb(Fl_Widget *, void *) { char buf[1024]; const char * prof_name; + buf[0] = '\0'; gipf->get_distortion_profile_name(buf, sizeof(buf)); prof_name = fl_input("Load Distortion Profile", buf); |