Skip to content

Commit 0b7ded2

Browse files
committed
fix copy-paste error
Due to a copy-paste error, the event editor would always be marked modified. Fix the comparison. This bug originally appeared in QtFRED also, but no longer does. Follow-up to #6529.
1 parent 0076cdb commit 0b7ded2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fred2/eventeditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ int event_editor::query_modified()
514514
return 1;
515515
if (safe_stricmp(local.avi_info.name, ref.avi_info.name) != 0)
516516
return 1;
517-
if (safe_stricmp(local.wave_info.name, ref.avi_info.name) != 0)
517+
if (safe_stricmp(local.wave_info.name, ref.wave_info.name) != 0)
518518
return 1;
519519
}
520520

0 commit comments

Comments
 (0)