parent
1144384242
commit
3d8ac3d0a1
|
@ -114,7 +114,8 @@ static void printstr(const std::vector<std::string> &filedata, int i1, int i2)
|
|||
}
|
||||
#endif
|
||||
|
||||
static char getEndChar(const std::string &line) {
|
||||
static char getEndChar(const std::string &line)
|
||||
{
|
||||
std::size_t pos = line.find_last_not_of(" \t");
|
||||
return (pos == std::string::npos) ? '\0' : line[pos];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue