src/strings.cpp
changeset 10983 e734f891d1f6
parent 10839 a62547c31fdb
child 10998 04f58fa3dbb0
equal deleted inserted replaced
10982:e8358ed0f98e 10983:e734f891d1f6
  1211 
  1211 
  1212 	/* resolution size? */
  1212 	/* resolution size? */
  1213 	if (IsInsideMM(ind, (SPECSTR_RESOLUTION_START - 0x70E4), (SPECSTR_RESOLUTION_END - 0x70E4) + 1)) {
  1213 	if (IsInsideMM(ind, (SPECSTR_RESOLUTION_START - 0x70E4), (SPECSTR_RESOLUTION_END - 0x70E4) + 1)) {
  1214 		int i = ind - (SPECSTR_RESOLUTION_START - 0x70E4);
  1214 		int i = ind - (SPECSTR_RESOLUTION_START - 0x70E4);
  1215 		buff += snprintf(
  1215 		buff += snprintf(
  1216 			buff, last - buff + 1, "%dx%d", _resolutions[i][0], _resolutions[i][1]
  1216 			buff, last - buff + 1, "%dx%d", _resolutions[i].width, _resolutions[i].height
  1217 		);
  1217 		);
  1218 		return buff;
  1218 		return buff;
  1219 	}
  1219 	}
  1220 
  1220 
  1221 	/* screenshot format name? */
  1221 	/* screenshot format name? */