settings_gui.c
changeset 959 e6a3bbda610f
parent 951 759ca1b993db
child 970 24abd02b1092
equal deleted inserted replaced
958:a6217005ff41 959:e6a3bbda610f
  1004 void ConsoleSetPatchSetting(char *name, char *value)
  1004 void ConsoleSetPatchSetting(char *name, char *value)
  1005 {
  1005 {
  1006 	const PatchPage *page;
  1006 	const PatchPage *page;
  1007 	const PatchEntry *pe = NULL;
  1007 	const PatchEntry *pe = NULL;
  1008 	bool found = false;
  1008 	bool found = false;
  1009 	int i;
  1009 	uint i;
  1010 	unsigned int j;
  1010 	unsigned int j;
  1011 	int val;
  1011 	int val;
  1012 
  1012 
  1013 	/* Search for the name in the patch-settings */
  1013 	/* Search for the name in the patch-settings */
  1014 	for (i = 0; i < lengthof(_patches_page); i++) {
  1014 	for (i = 0; i < lengthof(_patches_page); i++) {
  1064 {
  1064 {
  1065 	const PatchPage *page;
  1065 	const PatchPage *page;
  1066 	const PatchEntry *pe = NULL;
  1066 	const PatchEntry *pe = NULL;
  1067 	char value[50];
  1067 	char value[50];
  1068 	bool found = false;
  1068 	bool found = false;
  1069 	int i;
  1069 	uint i;
  1070 	unsigned int j;
  1070 	unsigned int j;
  1071 
  1071 
  1072 	/* Search for the name in the patch-settings */
  1072 	/* Search for the name in the patch-settings */
  1073 	for (i = 0; i < lengthof(_patches_page); i++) {
  1073 	for (i = 0; i < lengthof(_patches_page); i++) {
  1074 		page = &_patches_page[i];
  1074 		page = &_patches_page[i];