Skip to content

Commit bc0d3f9

Browse files
opencc: add the patch file
1 parent 2f68ebc commit bc0d3f9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Index: OpenCC-ver.1.1.7/src/Segments.hpp
2+
===================================================================
3+
--- OpenCC-ver.1.1.7.orig/src/Segments.hpp
4+
+++ OpenCC-ver.1.1.7/src/Segments.hpp
5+
@@ -32,7 +32,7 @@ public:
6+
Segments() {}
7+
8+
Segments(std::initializer_list<const char*> initList) {
9+
- for (const std::string& item : initList) {
10+
+ for (const std::string item : initList) {
11+
AddSegment(item);
12+
}
13+
}

0 commit comments

Comments
 (0)