Commit 0b62dc94 authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in ge graph default width and height

parent ae063633
......@@ -65,12 +65,12 @@
# define SET_VERSION(a, b, c, d) ((pwr_tVersion)((a << 24) + (a << 16) + (a << 8) + a))
#endif
#define pwrv_cBuildTimeStr "09-MAY-2009 12:00:00"
#define pwrv_cBuildTimeStr "26-MAR-2010 12:00:00"
#define pwrv_cPwrVersionStr "V4.7.0"
#define pwrv_cPwrVersion SET_VERSION('V', 4, 7, 0)
#define pwrv_cWbdbVersionShortStr "V47"
#define pwrv_cPwrCopyright "Copyright (C) 2005-2009 SSAB Oxelsund"
#define pwrv_cPwrCopyright "Copyright (C) 2005-2010 SSAB Oxelsund"
#endif
......@@ -1965,7 +1965,7 @@ int GrowCtx::get_dimension( char *filename, int *width, int *height)
}
fp.close();
if ( width_found && height_found)
if ( width_found && height_found && *width != 0 && *height != 0)
return 1;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment