Undo + Recording
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
/* Sets the window title from the given anm2 */
|
||||
void
|
||||
window_title_from_anm2_set(SDL_Window* self, Anm2* anm2)
|
||||
window_title_from_path_set(SDL_Window* self, const char* path)
|
||||
{
|
||||
if (!strcmp(anm2->path, STRING_EMPTY) == 0)
|
||||
if (!strcmp(path, STRING_EMPTY) == 0)
|
||||
{
|
||||
char windowTitle[WINDOW_TITLE_MAX];
|
||||
snprintf(windowTitle, WINDOW_TITLE_MAX, STRING_WINDOW_TITLE_EDITING, anm2->path);
|
||||
snprintf(windowTitle, WINDOW_TITLE_MAX, STRING_WINDOW_TITLE_EDITING, path);
|
||||
SDL_SetWindowTitle(self, windowTitle);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user