Fixes a bug (#428493) where gimp_statusbar_push_temp() expects vaargs and

2007-04-11  Mukund Sivaraman  <muks@mukund.org>

        * app/display/gimpstatusbar.c: Fixes a bug (#428493) where
          gimp_statusbar_push_temp() expects vaargs and
          gimp_statusbar_progress_message() directly passes a message
          to it as the format string.. in this case the message
          contains % (in the filename) and no arguments.


svn path=/trunk/; revision=22231
This commit is contained in:
Mukund Sivaraman 2007-04-11 09:42:51 +00:00 committed by Mukund Sivaraman
parent 20fca4a586
commit bc5843031b
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2007-04-11 Mukund Sivaraman <muks@mukund.org>
* app/display/gimpstatusbar.c: Fixes a bug (#428493) where
gimp_statusbar_push_temp() expects vaargs and
gimp_statusbar_progress_message() directly passes a message
to it as the format string.. in this case the message
contains % (in the filename) and no arguments.
2007-04-09 Michael Natterer <mitch@gimp.org>
* app/paint/gimpperspectiveclone.c

View file

@ -395,7 +395,7 @@ gimp_statusbar_progress_message (GimpProgress *progress,
return FALSE;
gimp_statusbar_push_temp (statusbar,
gimp_get_message_stock_id (severity), message);
gimp_get_message_stock_id (severity), "%s", message);
return TRUE;
}