From 363415878cfa1fcdbc73123353cd3058be2d97f2 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 16 Oct 2016 23:16:09 -0400 Subject: [PATCH] CmdEdit: Migrated from Nibbler to Pig --- src/commands/CmdEdit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/CmdEdit.cpp b/src/commands/CmdEdit.cpp index a170cae4c..44c6f6042 100644 --- a/src/commands/CmdEdit.cpp +++ b/src/commands/CmdEdit.cpp @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #include @@ -710,10 +710,10 @@ void CmdEdit::parseTask (Task& task, const std::string& after, const std::string } else if (type == "numeric") { - Nibbler n (value); + Pig pig (value); double d; - if (n.getNumber (d) && - n.depleted ()) + if (pig.getNumber (d) && + pig.eos ()) task.set (col.first, value); else throw format (STRING_UDA_NUMERIC, value);