From 17fca7cbd3d6a46ab5f0bc2e70788ffb2d78491b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 15 Jan 2003 20:37:15 +0000 Subject: [PATCH] fix split --- stepmania/src/RageUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 3cde44c513..955be9999d 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -159,7 +159,7 @@ void do_split( const S &Source, const S &Deliminator, vector &AddIt, const bo unsigned startpos = 0; do { - unsigned pos = Source.find_first_of(Deliminator, startpos); + unsigned pos = Source.find(Deliminator, startpos); if ( pos == Source.npos ) pos=Source.size(); S AddCString = Source.substr(startpos, pos-startpos);