From 316949021955191eee4073558e5807ca64419edb Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 2 Nov 2015 18:41:33 -0500 Subject: [PATCH] Revert "Context: Converted from strtol to std::stoi" This reverts commit 8e214d1b14603e9671bd9d4f9942065513c900df. --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context.cpp b/src/Context.cpp index 290d6a03b..7924a4ab6 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -611,7 +611,7 @@ void Context::getLimits (int& rows, int& lines) } else { - rows = std::stoi (limit); + rows = (int) strtol (limit.c_str (), NULL, 10); lines = 0; } }