* Use get_string() because we may need more than
* the s16b value returned by get_quantity().
*/
- if (get_string(tmp_str, out_val, 32, TRUE))
+ if (get_string(tmp_str, out_val, 32))
{
/* Strip spaces */
for (p = out_val; *p == ' '; p++);
prt("--------------------------------", 8, 3);
strcpy(out_val, "");
#ifdef JP
- get_string("²¿ÈÖ¡© (0-9): ", out_val, 32, TRUE);
+get_string("²¿ÈÖ¡© (0-9): ", out_val, 32);
#else
- get_string("Pick a number (0-9): ", out_val, 32, TRUE);
+ get_string("Pick a number (0-9): ", out_val, 32);
#endif
for (p = out_val; isspace(*p); p++);
* Use get_string() because we may need more than
* the s16b value returned by get_quantity().
*/
- if (get_string(tmp_str, out_val, 32, TRUE))
+ if (get_string(tmp_str, out_val, 32))
{
/* Strip spaces */
for (p = out_val; *p == ' '; p++);
/* Get the quantity for staves and wands */
#ifdef JP
- charges = get_quantity(format("°ì²óʬ¡ð%d ¤Ç²¿²óʬ½¼Å¶¤·¤Þ¤¹¤«¡©",
+charges = get_quantity(format("°ì²óʬ¡ð%d ¤Ç²¿²óʬ½¼Å¶¤·¤Þ¤¹¤«¡©",
#else
charges = get_quantity(format("Add how many charges for %d gold? ",
#endif
+
price), MIN(p_ptr->au / price, max_charges));
/* Do nothing */
{
all = TRUE;
#ifdef JP
- if (!get_string("̾Á°(±Ñ¸ì¤Î¾ì¹ç¾®Ê¸»ú¤Ç²Ä)", temp, 70, TRUE))
+ if (!get_string("̾Á°(±Ñ¸ì¤Î¾ì¹ç¾®Ê¸»ú¤Ç²Ä)",temp, 70))
#else
- if (!get_string("Enter name:",temp, 70, TRUE))
+ if (!get_string("Enter name:",temp, 70))
#endif
{
- temp[0] = 0;
+ temp[0]=0;
/* Restore */
screen_load();