Преглед изворни кода

* properly initialise graphresult when setgraphmode is called directly
(patch by Nikolay Nikolov, mantis #16798)

git-svn-id: trunk@15485 -

Jonas Maebe пре 15 година
родитељ
комит
469106629c
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      packages/graph/src/inc/modes.inc

+ 1 - 0
packages/graph/src/inc/modes.inc

@@ -549,6 +549,7 @@ end;
           _GraphResult := grInvalidMode;
           exit;
         end;
+      _GraphResult := grOk;
       modeinfo^.InitMode;
       if _GraphResult <> grOk then
         begin