Remove (ifdef) draw_documentation from text_draw.c
authorDalai Felinto <dfelinto@gmail.com>
Thu, 9 Mar 2017 16:02:32 +0000 (17:02 +0100)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 9 Mar 2017 16:02:35 +0000 (17:02 +0100)
This was no longer supported.

source/blender/editors/space_text/text_draw.c

index 81605a80f69e28f26a3e0729ac30f3e47cd16266..70b5feac280b7fa6ff246a5fe9eb08ca39b272b1 100644 (file)
@@ -926,6 +926,7 @@ static void draw_textscroll(const SpaceText *st, rcti *scroll, rcti *back)
 
 /*********************** draw documentation *******************************/
 
+#if 0
 static void draw_documentation(const SpaceText *st, ARegion *ar)
 {
        TextDrawContext tdc = {0};
@@ -1014,6 +1015,7 @@ static void draw_documentation(const SpaceText *st, ARegion *ar)
                draw_documentation(st, ar);
        }
 }
+#endif
 
 /*********************** draw suggestion list *******************************/
 
@@ -1487,7 +1489,7 @@ void draw_text_main(SpaceText *st, ARegion *ar)
        /* draw other stuff */
        draw_brackets(st, &tdc, ar);
        draw_textscroll(st, &scroll, &back);
-       draw_documentation(st, ar);
+       /* draw_documentation(st, ar); - No longer supported */
        draw_suggestion_list(st, &tdc, ar);
        
        text_font_end(&tdc);