From fa49b1a129f11dc7de021a29c3b9cd3540aebc1c Mon Sep 17 00:00:00 2001 From: iks Date: Fri, 6 Mar 2009 09:29:21 +0000 Subject: [PATCH] =?utf8?q?windows=20vita=E3=81=A0=E3=81=A8=E6=A8=A9?= =?utf8?q?=E9=99=90=E3=81=AE=E9=96=A2=E4=BF=82=E3=81=A7=E3=83=AB=E3=83=BC?= =?utf8?q?=E3=83=88=E3=81=AB=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C?= =?utf8?q?=E6=9B=B8=E3=81=8D=E8=BE=BC=E3=82=81=E3=81=9A=E3=80=81=E3=82=AF?= =?utf8?q?=E3=82=A8=E3=82=B9=E3=83=88=E6=83=85=E5=A0=B1=E7=AD=89=E3=81=8C?= =?utf8?q?=E8=A6=8B=E3=82=8C=E3=81=AA=E3=81=84=E3=81=93=E3=81=A8=E3=81=8C?= =?utf8?q?=E3=81=82=E3=82=8B=E3=81=AE=E3=81=A7=E3=80=81=E3=82=AB=E3=83=AC?= =?utf8?q?=E3=83=B3=E3=83=88=E3=81=AB=E6=9B=B8=E3=81=8D=E8=BE=BC=E3=82=80?= =?utf8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util.c b/src/util.c index dd42052e2..e4afa45f5 100644 --- 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); -- 2.11.0