From 1557dafabcd5a885308b9953ddff785404ad0c41 Mon Sep 17 00:00:00 2001 From: "J. Krieg" Date: Sat, 13 Jul 2013 14:39:51 +0200 Subject: [PATCH] imageinfo: display other version info on missing '.version' file --- src/gui/imageinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index d0754dee8..3135e7577 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -186,7 +186,7 @@ void CImageInfo::InitInfos() const char * builddate = config.getString("builddate", "n/a").c_str(); #endif - const char * _version = config.getString("version", "n/a").c_str(); + const char * _version = config.getString("version", "U000000000000000").c_str(); static CFlashVersionInfo versionInfo(_version); std::string version_string;