From 5308ea7e2afa2d99a420f9bb7c7e9acac3294d94 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 7 May 2017 04:29:18 -0700 Subject: Put the app name after filename in the window title --- examples/alffplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 00d51673..10870930 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -1193,7 +1193,7 @@ void MovieState::setTitle(SDL_Window *window) auto fpos = ((pos1 == std::string::npos) ? pos2 : (pos2 == std::string::npos) ? pos1 : std::max(pos1, pos2)) + 1; - SDL_SetWindowTitle(window, (AppName+" - "+mFilename.substr(fpos)).c_str()); + SDL_SetWindowTitle(window, (mFilename.substr(fpos)+" - "+AppName).c_str()); } double MovieState::getClock() -- cgit v1.2.3