__
This commit is contained in:
		| @@ -1166,7 +1166,7 @@ std::string Kbd(int lenght, SwkbdType tp) | |||||||
| 	swkbdInit(&state, SwkbdType::SWKBD_TYPE_NUMPAD, 2, lenght); | 	swkbdInit(&state, SwkbdType::SWKBD_TYPE_NUMPAD, 2, lenght); | ||||||
| 	swkbdSetValidation(&state, SWKBD_NOTBLANK_NOTEMPTY, SWKBD_FILTER_PROFANITY, 0); | 	swkbdSetValidation(&state, SWKBD_NOTBLANK_NOTEMPTY, SWKBD_FILTER_PROFANITY, 0); | ||||||
| 	SwkbdButton ret = swkbdInputText(&state, temp, sizeof(temp)); | 	SwkbdButton ret = swkbdInputText(&state, temp, sizeof(temp)); | ||||||
| 	temp[maxLength] = '\0'; | 	temp[lenght] = '\0'; | ||||||
| 	return (ret == SWKBD_BUTTON_CONFIRM ? temp : "60"); | 	return (ret == SWKBD_BUTTON_CONFIRM ? temp : "60"); | ||||||
| } | } | ||||||
| void RenderD7::RSettings::Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch) | void RenderD7::RSettings::Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 skymz4
					skymz4