Browse Source

Fixed off-by-one error; token is no longer included in output.

release/0.19
JustinAJ 10 years ago
parent
commit
94bda33c24
  1. 4
      Jupiter/Readable_String_Imp.h
  2. BIN
      Release/Jupiter.lib

4
Jupiter/Readable_String_Imp.h

@ -1256,8 +1256,8 @@ template<typename T> template<template<typename> class R> R<T> Jupiter::Readable
{
if (++j == token.size())
{
if (pos-- == 0)
return R<T>::substring(in, i);
if (--pos == 0)
return R<T>::substring(in, i + token.size());
break;
}
}

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save