[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] [kedit] fixed enormous critical bug



From: Alexander Kluth <derhartmut@xxxxxxxxxxxx>

kedit_main.pas: Added highlighting functionallity for header files (.h)

Signed-off-by: Alexander Kluth <derhartmut@xxxxxxxxxxxx>
---
 src/modules/pas/kedit/kedit_main.pas | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/pas/kedit/kedit_main.pas b/src/modules/pas/kedit/kedit_main.pas
index 69732ad..c40ea12 100644
--- a/src/modules/pas/kedit/kedit_main.pas
+++ b/src/modules/pas/kedit/kedit_main.pas
@@ -106,6 +106,8 @@ begin
         state^.extension := 'asm';
     end else if RightStr(filename, 2) = '.c' then begin
         state^.extension := 'c';
+    end else if RightStr(filename, 2) = '.h' then begin
+        state^.extension := 'c';
     end else if RightStr(filename, 2) = '.S' then begin
         state^.extension := 's';
     end else if RightStr(filename, 2) = '.s' then begin
-- 
1.8.0.2