From: <hug...@li...> - 2010-11-06 18:09:35
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgrepo/h/hu/hugin/hugin/rev/553a54113767 changeset: 4537:553a54113767 user: Matthew Petroff date: Sat Nov 06 14:08:50 2010 -0400 description: fixes crash that happened when too many arguements were passed to align image stack diffstat: src/hugin1/icpfind/AutoCtrlPointCreator.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r dff0ab15d7c9 -r 553a54113767 src/hugin1/icpfind/AutoCtrlPointCreator.cpp --- a/src/hugin1/icpfind/AutoCtrlPointCreator.cpp Sat Nov 06 11:22:45 2010 +0100 +++ b/src/hugin1/icpfind/AutoCtrlPointCreator.cpp Sat Nov 06 14:08:50 2010 -0400 @@ -445,7 +445,7 @@ wxArrayString arguments = wxCmdLineParser::ConvertStringToArgs(autopanoArgs); if (arguments.GetCount() > 127) { DEBUG_ERROR("Too many arguments for call to wxExecute()"); - DEBUG_ERROR("Try using the %s parameter in preferences"); + DEBUG_ERROR("Try using the %%s parameter in preferences"); CPMessage(wxString::Format(_("Too many arguments (images). Try using the %%s parameter in preferences.\n\n Could not execute command: %s"), autopanoExe.c_str()), _("wxExecute Error"), parent); return cps; } |