diff options
-rw-r--r-- | source/blender/editors/interface/interface_style.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index b4b049d8b4d..7be089fdf32 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -291,7 +291,9 @@ void uiStyleInit(void) uiStyle *style= U.uistyles.first; /* recover from uninitialized dpi */ - CLAMP(U.dpi, 72, 240); + if(U.dpi == 0) + U.dpi= 72; + CLAMP(U.dpi, 48, 128); /* default builtin */ if(font==NULL) { |