Skip to content

Commit a4d4d59

Browse files
committed
commit patch for issue #1 from dsevilla
git-svn-id: http://pystring.googlecode.com/svn/trunk@10 e90ac086-db91-11dd-a3d5-f9b94b98161c
1 parent cf5c8cf commit a4d4d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pystring.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ namespace pystring
335335
{
336336
std::vector< std::string >::size_type seqlen = seq.size(), i;
337337

338-
if ( seq.size() == 0 ) return "";
339-
if ( seq.size() == 1 ) return seq[0];
338+
if ( seqlen == 0 ) return "";
339+
if ( seqlen == 1 ) return seq[0];
340340

341341
std::string result( seq[0] );
342342

0 commit comments

Comments
 (0)