From bc614a5e0b48182d98f21efa3202fb2960637ecb Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Fri, 15 Jan 2016 22:47:47 -0500 Subject: [PATCH] Fix accidental string+int in a debug message --- pcbnew/hotkeys_board_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/hotkeys_board_editor.cpp b/pcbnew/hotkeys_board_editor.cpp index 8097c8967f..0b4e20700f 100644 --- a/pcbnew/hotkeys_board_editor.cpp +++ b/pcbnew/hotkeys_board_editor.cpp @@ -1193,8 +1193,8 @@ bool PCB_EDIT_FRAME::OnHotkeyDuplicateOrArrayItem( int aIdCommand ) break; default: - wxASSERT_MSG( false, "Unhandled move, duplicate or array for " - "object type " + item->Type() ); + wxASSERT_MSG( false, wxString::Format( "Unhandled move, duplicate or array for " + "object type %d", item->Type() ) ); break; }