From 182f99abcb1734d8fdb50dbc2b6e50b8daddd496 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Thu, 19 Mar 2026 21:48:39 +0300 Subject: [PATCH] Fix MSW build error. --- common/dialogs/dialog_restore_local_history.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/dialogs/dialog_restore_local_history.cpp b/common/dialogs/dialog_restore_local_history.cpp index bea2dc9c2f..419bf08081 100644 --- a/common/dialogs/dialog_restore_local_history.cpp +++ b/common/dialogs/dialog_restore_local_history.cpp @@ -133,8 +133,8 @@ void DIALOG_RESTORE_LOCAL_HISTORY::Populate() const auto& snapshot = m_snapshots[i]; long row = m_list->InsertItem( m_list->GetItemCount(), snapshot.date.FormatISOCombined() ); m_list->SetItem( row, 1, snapshot.summary ); - m_list->SetItem( row, 2, - snapshot.filesChanged > 0 ? wxString::Format( "%d", snapshot.filesChanged ) : wxS( "-" ) ); + m_list->SetItem( + row, 2, snapshot.filesChanged > 0 ? wxString::Format( "%d", snapshot.filesChanged ) : wxString( "-" ) ); } m_list->SetColumnWidth( 0, FromDIP( 170 ) );