aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-07 04:29:18 -0700
committerChris Robinson <[email protected]>2017-05-07 04:29:18 -0700
commit5308ea7e2afa2d99a420f9bb7c7e9acac3294d94 (patch)
tree860108f3d8d3cdde5b34b470f4057075d3463df6 /examples
parentd9d2e732284eef9b386e312b131757370625c3d3 (diff)
Put the app name after filename in the window title
Diffstat (limited to 'examples')
-rw-r--r--examples/alffplay.cpp2
1 files changed, 1 insertions, 1 deletions
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()