summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f5e5a4c)
raw | patch | inline | side by side (parent: f5e5a4c)
author | Jon A. Cruz <jon@joncruz.org> | |
Thu, 12 Aug 2010 03:32:19 +0000 (20:32 -0700) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Thu, 12 Aug 2010 03:32:19 +0000 (20:32 -0700) |
src/ui/dialog/filedialogimpl-win32.cpp | patch | blob | history |
index 11624af70a4dd1d2feec2a6d594acd98e928a7e3..c78ce95091980239f1dfd50e74bbfb7f7a81ca98 100644 (file)
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;
}