OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c06338
)
書式をlong intに指定
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 16 Nov 2012 16:11:58 +0000
(16:11 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 16 Nov 2012 16:11:58 +0000
(16:11 +0000)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index
cbeb5b1
..
a0a2825
100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-1078,7
+1078,7
@@
cptr process_pref_file_expr(char **sp, char *fp)
/* Money */
else if (streq(b+1, "MONEY"))
{
- sprintf(tmp, "%09d", p_ptr->au);
+ sprintf(tmp, "%09
l
d", p_ptr->au);
v = tmp;
}
}