Commits

Takashi Sawanaka committed 107e84d

Fix mixed EOL

  • Participants
  • Parent commits 6b82f86
  • Branches default

Comments (0)

Files changed (1)

Src/editlib/ccrystaltextview.cpp

   pCmdUI->SetRadio (m_SourceDefs + (pCmdUI->m_nID - ID_SOURCE_PLAIN) == m_CurSourceDef);
 }
 
-int
-bracetype (TCHAR c)
-{
-  static LPCTSTR braces = _T("{}()[]<>");
-  LPCTSTR pos = _tcschr (braces, c);
-  return pos ? (int) (pos - braces) + 1 : 0;
-}
-
-int
-bracetype (LPCTSTR s)
-{
-  if (s[1])
-    return 0;
-  return bracetype (*s);
-}
-
+int
+bracetype (TCHAR c)
+{
+  static LPCTSTR braces = _T("{}()[]<>");
+  LPCTSTR pos = _tcschr (braces, c);
+  return pos ? (int) (pos - braces) + 1 : 0;
+}
+
+int
+bracetype (LPCTSTR s)
+{
+  if (s[1])
+    return 0;
+  return bracetype (*s);
+}
+
 void CCrystalTextView::
 OnMatchBrace ()
 {