Subversion Repositories WoWGM

Rev

Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18 Rev 20
Line 147... Line 147...
147
	if (result >= 10) {
147
	if (result >= 10) {
148
		result = 0;
148
		result = 0;
149
	}
149
	}
150
	else
150
	else
151
	{
151
	{
152
		char const* v4 = (copy + 1);
152
		char const* next = (copy + 1);
153
		for (int i = copy[1] - 48; i < 10; i = *v4 - 48 )
153
		for (int i = copy[1] - 48; i < 10 && i >= 0; i = *next - 48 )
154
		{
154
		{
155
			++v4;
155
			++next;
156
			result = i + 10 * result;
156
			result = i + 10 * result;
157
		}
157
		}
158
	}
158
	}
159
	if ( *string == '-' )
159
	if ( *string == '-' )
160
	{
160
	{