HEAD or master will no longer show up in the titlebar

This commit is contained in:
Zion Nimchuk 2017-11-07 18:48:26 -08:00 committed by Ivan
parent 3e7ed8a831
commit 865bb47462

View file

@ -26,7 +26,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab
version = version.substr(0 , version.find_last_of("-"));
//Add branch to version on frame , unless it's master.
if (rpcs3::get_branch() != "master" || rpcs3::get_branch() != "HEAD")
if (rpcs3::get_branch().compare("master") != 0 && rpcs3::get_branch().compare("HEAD") != 0)
{
version = version + "-" + rpcs3::get_branch();
}