From: Jon A. Cruz Date: Thu, 12 Aug 2010 03:32:19 +0000 (-0700) Subject: Correct application of older Win32 patch. Fixes bug #616589. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=909217bf0e05806938a3b34107f92c30e742c7dd;p=inkscape.git Correct application of older Win32 patch. Fixes bug #616589. --- diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp index 11624af70..c78ce9509 100644 --- a/src/ui/dialog/filedialogimpl-win32.cpp +++ b/src/ui/dialog/filedialogimpl-win32.cpp @@ -100,7 +100,7 @@ namespace { int sanitizeWindowSizeParam( int size, int delta, int minimum, int fallback ) { int result = size; - if ( size < lower ) { + if ( size < minimum ) { g_warning( "Window size %d is less than cutoff.", size ); result = fallback - delta; }