From 7a3addfd66c6b310e5bb32d831a3b362245fee11 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 27 Jul 2007 17:02:24 +0200 Subject: check whether get_distortion_profile_name() succeeded --- src/gipfel.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gipfel.cxx') 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); -- cgit v1.2.3