src/strings.cpp
changeset 9533 e8b86b70c5f6
parent 9470 08424e2e79e4
child 9543 a60fb4bacc66
equal deleted inserted replaced
9532:f44ff68484af 9533:e8b86b70c5f6
  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? */