summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0eb53ac)
raw | patch | inline | side by side (parent: 0eb53ac)
author | JazzyNico <nicoduf@yahoo.fr> | |
Sat, 13 Feb 2010 19:43:53 +0000 (20:43 +0100) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Sat, 13 Feb 2010 19:43:53 +0000 (20:43 +0100) |
src/ui/dialog/filedialogimpl-gtkmm.cpp | patch | blob | history | |
src/ui/dialog/filedialogimpl-win32.cpp | patch | blob | history |
index e650cf842cc286695a0fc8c02504fd746772fd60..916e3ec97f82dc9f98d3c3839592bbdf846a4ee7 100644 (file)
return FALSE;
}
long fileLen = info.st_size;
- if (fileLen > 0x150000L)
+ if (fileLen > 0xA00000L)
{
showingNoPreview = false;
showTooLarge(fileLen);
index 529288031f560f1069470f64623d8af96788040a..c3889a62d93e9dcfa44c70d5e36def7ee0d0e57c 100644 (file)
const int PreviewWidening = 150;
const char PreviewWindowClassName[] = "PreviewWnd";
-const unsigned long MaxPreviewFileSize = 1344; // kB
+const unsigned long MaxPreviewFileSize = 10240; // kB
#define IDC_SHOW_PREVIEW 1000