Context: Converted from strtol to std::stoi
This commit is contained in:
@@ -611,7 +611,7 @@ void Context::getLimits (int& rows, int& lines)
|
||||
}
|
||||
else
|
||||
{
|
||||
rows = (int) strtol (limit.c_str (), NULL, 10);
|
||||
rows = std::stoi (limit);
|
||||
lines = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user