From e503d1b77f6aceb114da36acef0efc857724388f Mon Sep 17 00:00:00 2001 From: lazarus-bart Date: Sat, 30 Jun 2012 09:35:13 +0000 Subject: [PATCH] LazEdit: TEditor.GuessFileTypeFromString: fix xml detection git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2469 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- applications/lazedit/editorpagecontrol.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/lazedit/editorpagecontrol.pp b/applications/lazedit/editorpagecontrol.pp index 1f76721d8..5faf7a7e5 100644 --- a/applications/lazedit/editorpagecontrol.pp +++ b/applications/lazedit/editorpagecontrol.pp @@ -359,7 +359,7 @@ begin if (Pos(Shebang,S) = 1) and ((Pos('/bin/bash',S) > 0) or (Pos('/bin/sh',S) > 0)) then Result := eftUnixShell else if (Pos(Shebang,S) = 1) and (Pos('/perl',S) > 0) then Result := eftPerl else if Pos('