1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
# HG changeset patch
# User tmodes
# Date 1474121697 -7200
# Sat Sep 17 16:14:57 2016 +0200
# Node ID 67c64f0ca1c45c991efa7b11e457cc5bc2c945c0
# Parent 91b78c0c991f60744d71c9a4bd434c46cba4b444
Fixes a type of format string
diff -r 91b78c0c991f -r 67c64f0ca1c4 src/hugin1/hugin/MainFrame.cpp
--- a/src/hugin1/hugin/MainFrame.cpp Sat Sep 17 16:14:24 2016 +0200
+++ b/src/hugin1/hugin/MainFrame.cpp Sat Sep 17 16:14:57 2016 +0200
@@ -2162,7 +2162,7 @@
unsigned i2 = *(comps[1].begin());
ShowCtrlPointEditor( i1, i2);
// display message box with
- wxMessageBox(wxString::Format(_("Warning %d unconnected image groups found:"), comps.size()) + Components2Str(comps) + wxT("\n")
+ wxMessageBox(wxString::Format(_("Warning %d unconnected image groups found:"), static_cast<int>(comps.size())) + Components2Str(comps) + wxT("\n")
+ _("Please create control points between unconnected images using the Control Points tab in the panorama editor.\n\nAfter adding the points, press the \"Align\" button again"),_("Error"), wxOK , mainWin);
return;
};
|