diff --git a/common/dialog_shim.cpp b/common/dialog_shim.cpp index 8510f8bff1..a5aff9ec8b 100644 --- a/common/dialog_shim.cpp +++ b/common/dialog_shim.cpp @@ -399,8 +399,8 @@ void DIALOG_SHIM::OnPaint( wxPaintEvent &event ) void DIALOG_SHIM::OnModify() { - if( !GetTitle().EndsWith( "*" ) ) - SetTitle( GetTitle() + "*" ); + if( !GetTitle().StartsWith( "*" ) ) + SetTitle( "*" + GetTitle() ); }