Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r--source/blender/src/headerbuttons.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c
index 27cff208dbc..960c4dda876 100644
--- a/source/blender/src/headerbuttons.c
+++ b/source/blender/src/headerbuttons.c
@@ -1564,6 +1564,12 @@ void do_global_buttons(unsigned short event)
allqueue(REDRAWALL, 0);
break;
+ case B_RESTOREFONT: /* is button from space.c *info* */
+ U.fontsize= 0;
+ start_interface_font();
+ allqueue(REDRAWALL, 0);
+ break;
+
case B_DOLANGUIFONT: /* is button from space.c *info* */
if(U.transopts & USER_DOTRANSLATE)
start_interface_font();