winecfg: Restrict dpi slider to sane values.

This commit is contained in:
Dan Kegel 2008-04-22 17:56:36 -07:00 committed by Alexandre Julliard
parent a1ebffb452
commit faaccca59b
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
#define RES_MAXLEN 5 /* the maximum number of characters in a screen dimension. 5 digits should be plenty, what kind of crazy person runs their screen >10,000 pixels across? */
#define RES_MAXLEN 5 /* max number of digits in a screen dimension. 5 digits should be plenty */
#define MINDPI 96
#define MAXDPI 480
#define MAXDPI 144 /* making this too high surprises and hurts users */
#define DEFDPI 96
#define IDT_DPIEDIT 0x1234