misc_gui.c
changeset 2167 99d31f4eeb37
parent 2165 5729e4207de5
child 2186 461a2aff3486
equal deleted inserted replaced
2166:d57d078cf659 2167:99d31f4eeb37
    88 					if (found) { *p++ = ','; *p++ = ' '; }
    88 					if (found) { *p++ = ','; *p++ = ' '; }
    89 					found = true;
    89 					found = true;
    90 
    90 
    91 					// If the accepted value is less than 8, show it in 1/8:ths
    91 					// If the accepted value is less than 8, show it in 1/8:ths
    92 					if (lid->ac[i] < 8) {
    92 					if (lid->ac[i] < 8) {
    93 						int32 argv[2] = {
    93 						int32 argv[2];
    94 							lid->ac[i],
    94 						argv[0] = lid->ac[i];
    95 							_cargoc.names_s[i]
    95 						argv[1] = _cargoc.names_s[i];
    96 						};
       
    97 						p = GetStringWithArgs(p, STR_01D1_8, argv);
    96 						p = GetStringWithArgs(p, STR_01D1_8, argv);
    98 					} else {
    97 					} else {
    99 						p = GetString(p, _cargoc.names_s[i]);
    98 						p = GetString(p, _cargoc.names_s[i]);
   100 					}
    99 					}
   101 				}
   100 				}