* properly initialise graphresult when setgraphmode is called directly

(patch by Nikolay Nikolov, mantis #16798)

git-svn-id: trunk@15485 -
This commit is contained in:
Jonas Maebe 2010-06-27 12:38:30 +00:00
parent 3668be7ee4
commit 469106629c

View File

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