Thread: randomstring2
View Single Post
  #8  
Old 12-31-2008, 04:56 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Tigairius View Post
Right now your while loop will go in to an infinite loop if your input limit is greater than the array size of the source.
If repeat is true then it will do that. Easy fix would be to return when output size equals source size
__________________
Reply With Quote