OSDN Git Service

BUG: [ 1461375 ] Forgot old patch #981526 for sgml.cpp, sh.cpp and tcl.cpp?
authorTim Gerundt <tim@gerundt.de>
Sun, 9 Apr 2006 20:51:17 +0000 (20:51 +0000)
committerTim Gerundt <tim@gerundt.de>
Sun, 9 Apr 2006 20:51:17 +0000 (20:51 +0000)
Src/Changes.txt
Src/editlib/sgml.cpp
Src/editlib/sh.cpp
Src/editlib/tcl.cpp

index 3ce347d..5d2d17c 100644 (file)
@@ -2,6 +2,10 @@ Src\Changes.txt
 Add new items to top.
 (This summarizes all changes to all files under Src, including Src\Languages.)
 
+2006-04-09 Tim
+ BUG: [ 1461375 ] Forgot old patch #981526 for sgml.cpp, sh.cpp and tcl.cpp?
+  Src\editlib: sgml.cpp sh.cpp tcl.cpp
+
 2006-04-09 Kimmo
  BUG: [ 1383719 ] ShellExtension resources opening in IDE fails
   Fix from Sdottaka
index d0231b6..c5f90df 100644 (file)
@@ -279,7 +279,7 @@ DWORD CCrystalTextView::
 ParseLineSgml (DWORD dwCookie, int nLineIndex, TEXTBLOCK * pBuf, int &nActualItems)
 {
   int nLength = GetLineLength (nLineIndex);
-  if (nLength <= 1)
+  if (nLength == 0)
     return dwCookie & COOKIE_EXT_COMMENT;
 
   LPCTSTR pszChars = GetLineChars (nLineIndex);
index 94d6203..d952e73 100644 (file)
@@ -143,7 +143,7 @@ DWORD CCrystalTextView::
 ParseLineSh (DWORD dwCookie, int nLineIndex, TEXTBLOCK * pBuf, int &nActualItems)
 {
   int nLength = GetLineLength (nLineIndex);
-  if (nLength <= 1)
+  if (nLength == 0)
     return dwCookie & COOKIE_EXT_COMMENT;
 
   LPCTSTR pszChars = GetLineChars (nLineIndex);
index a24cdc7..bf8020a 100644 (file)
@@ -110,7 +110,7 @@ DWORD CCrystalTextView::
 ParseLineTcl (DWORD dwCookie, int nLineIndex, TEXTBLOCK * pBuf, int &nActualItems)
 {
   int nLength = GetLineLength (nLineIndex);
-  if (nLength <= 1)
+  if (nLength == 0)
     return dwCookie & COOKIE_EXT_COMMENT;
 
   LPCTSTR pszChars = GetLineChars (nLineIndex);