From ec0ff7e984cb37015958f0098b5ca80dd8d935e8 Mon Sep 17 00:00:00 2001
From: Benau <Benau@users.noreply.github.com>
Date: Thu, 12 Jan 2017 13:22:41 +0800
Subject: [PATCH] Fix possible crash when dump the glyph pages

---
 src/utils/debug.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp
index 4e93d66d3..22753bfa0 100644
--- a/src/utils/debug.cpp
+++ b/src/utils/debug.cpp
@@ -357,6 +357,7 @@ bool handleContextMenuAction(s32 cmd_id)
         font_manager->getFont<BoldFace>()->dumpGlyphPage("bold");
         font_manager->getFont<DigitFace>()->dumpGlyphPage("digit");
         font_manager->getFont<RegularFace>()->dumpGlyphPage("regular");
+        break;
     case DEBUG_FONT_RELOAD:
         font_manager->getFont<BoldFace>()->reset();
         font_manager->getFont<DigitFace>()->reset();