TortoiseGitMerge: Adjust OVR mode cursor width to exact char width
[TortoiseGit.git] / src / TortoiseMerge / EOL.cpp
blob1efa07a1ba529445cb5e43ffd53e033d9d99c0d0
1 // TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2013 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #include "stdafx.h"
20 #include "EOL.h"
23 const wchar_t * GetEolName(EOL eEol)
25 switch(eEol)
27 case EOL_LF:
28 return L"LF";
29 case EOL_CRLF:
30 return L"CRLF";
31 case EOL_LFCR:
32 return L"LFCR";
33 case EOL_CR:
34 return L"CR";
35 case EOL_VT:
36 return L"VT";
37 case EOL_FF:
38 return L"FF";
39 case EOL_NEL:
40 return L"NEL";
41 case EOL_LS:
42 return L"LS";
43 case EOL_PS:
44 return L"PS";
45 case EOL_AUTOLINE:
46 return L"AEOL";
48 return L"";