|
@@ -72,23 +72,23 @@ void FontTRLE::loadLPS(const char *f) {
|
72
|
72
|
|
73
|
73
|
for (std::string line; std::getline(file, line);) {
|
74
|
74
|
std::istringstream stream(line);
|
75
|
|
- int index;
|
76
|
|
- stream >> index;
|
77
|
|
- if (stream.get() != '=')
|
78
|
|
- return;
|
79
|
|
- stream >> offsets[index][0];
|
80
|
|
- if (stream.get() != ',')
|
81
|
|
- return;
|
82
|
|
- stream >> offsets[index][1];
|
83
|
|
- if (stream.get() != ',')
|
84
|
|
- return;
|
85
|
|
- stream >> offsets[index][2];
|
86
|
|
- if (stream.get() != ',')
|
87
|
|
- return;
|
88
|
|
- stream >> offsets[index][3];
|
89
|
|
- if (stream.get() != ',')
|
90
|
|
- return;
|
91
|
|
- stream >> offsets[index][4];
|
|
75
|
+ int index;
|
|
76
|
+ stream >> index;
|
|
77
|
+ if (stream.get() != '=')
|
|
78
|
+ continue;
|
|
79
|
+ stream >> offsets[index][0];
|
|
80
|
+ if (stream.get() != ',')
|
|
81
|
+ continue;
|
|
82
|
+ stream >> offsets[index][1];
|
|
83
|
+ if (stream.get() != ',')
|
|
84
|
+ continue;
|
|
85
|
+ stream >> offsets[index][2];
|
|
86
|
+ if (stream.get() != ',')
|
|
87
|
+ continue;
|
|
88
|
+ stream >> offsets[index][3];
|
|
89
|
+ if (stream.get() != ',')
|
|
90
|
+ continue;
|
|
91
|
+ stream >> offsets[index][4];
|
92
|
92
|
}
|
93
|
93
|
}
|
94
|
94
|
|