fixed a bug where '%c' did not correctly count toward the writable string length
This commit is contained in:
		| @@ -403,6 +403,7 @@ reswitch: | ||||
| 		case 'c': | ||||
| 			CHECK_ARGS(0); | ||||
| 			*buf_p++ = static_cast<D>(*get_amxaddr(amx, params[arg])); | ||||
| 			llen--; | ||||
| 			arg++; | ||||
| 			break; | ||||
| 		case 'd': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user