From f6028f0c60129f9fca521b120a69c6e557280f90 Mon Sep 17 00:00:00 2001 From: khartlage Date: Sat, 30 Nov 2002 16:41:35 +0000 Subject: [PATCH 1/1] minor fixes --- .../phpeclipse/phpeditor/PHPParserAction.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java index 37fae97..f4cc8a9 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java @@ -62,7 +62,7 @@ public class PHPParserAction extends TextEditorAction { return; } IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore(); - if (store.getBoolean(PHPeclipsePlugin.PHP_PARSER_DEFAULT)) { + if (store.getString(PHPeclipsePlugin.PHP_PARSER_DEFAULT).equals(PHPeclipsePlugin.PHP_INTERNAL_PARSER)) { // first delete all the previous markers fileToParse.deleteMarkers(IMarker.PROBLEM, false, 0); -- 1.7.1