do not compare char* strings directly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28852 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-03-18 13:14:49 +00:00
parent 2a8d33cac6
commit 9aa0e78047
2 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,7 @@ static QString version()
QString loc_release_date =
loc.toString(release_date(), QLocale::LongFormat);
if (loc_release_date.isEmpty()) {
if (lyx_release_date == "not released yet")
if (QString(lyx_release_date) == "not released yet")
loc_release_date = qt_("not released yet");
else
loc_release_date = toqstr(lyx_release_date);

View File

@ -115,6 +115,7 @@ What's new
- Disable the Edit->Math submenu when not in math (bug 4218).
- Fix display of release date in Help>About for development builds.
* DOCUMENTATION AND LOCALIZATION