mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
clang format fix
This commit is contained in:
parent
ee2db07e64
commit
3f9d84dafb
@ -14,11 +14,11 @@ uint32_t toLowerLatinImpl(const uint32_t cp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (cp) {
|
switch (cp) {
|
||||||
case 0x0152: // Œ
|
case 0x0152: // Œ
|
||||||
return 0x0153; // œ
|
return 0x0153; // œ
|
||||||
case 0x0178: // Ÿ
|
case 0x0178: // Ÿ
|
||||||
return 0x00FF; // ÿ
|
return 0x00FF; // ÿ
|
||||||
case 0x1E9E: // ẞ
|
case 0x1E9E: // ẞ
|
||||||
return 0x00DF; // ß
|
return 0x00DF; // ß
|
||||||
default:
|
default:
|
||||||
return cp;
|
return cp;
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
#include <Utf8.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
@ -8,11 +10,9 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <Utf8.h>
|
|
||||||
|
|
||||||
#include "lib/Epub/Epub/hyphenation/HyphenationCommon.h"
|
#include "lib/Epub/Epub/hyphenation/HyphenationCommon.h"
|
||||||
#include "lib/Epub/Epub/hyphenation/LanguageRegistry.h"
|
|
||||||
#include "lib/Epub/Epub/hyphenation/LanguageHyphenator.h"
|
#include "lib/Epub/Epub/hyphenation/LanguageHyphenator.h"
|
||||||
|
#include "lib/Epub/Epub/hyphenation/LanguageRegistry.h"
|
||||||
|
|
||||||
struct TestCase {
|
struct TestCase {
|
||||||
std::string word;
|
std::string word;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user