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:
808c288
)
windows vitaだと権限の関係でルートにファイルが書き込めず、クエスト情報等が見れないことがあるので、カレントに書き込むように修正。
author
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 6 Mar 2009 09:29:21 +0000
(09:29 +0000)
committer
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 6 Mar 2009 09:29:21 +0000
(09:29 +0000)
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index
dd42052
..
e4afa45
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-293,7
+293,11
@@
static errr path_temp(char *buf, int max)
if (!s) return (-1);
/* Format to length */
+#ifndef WIN32
(void)strnfmt(buf, max, "%s", s);
+#else
+ (void)strnfmt(buf, max, ".%s", s);
+#endif
/* Success */
return (0);