Merge git://spitspat.com/git/factor
commit
de0051e0f3
|
@ -10,9 +10,9 @@ s64 current_millis(void)
|
||||||
|
|
||||||
DEFINE_PRIMITIVE(cwd)
|
DEFINE_PRIMITIVE(cwd)
|
||||||
{
|
{
|
||||||
F_CHAR buf[MAX_PATH + 4];
|
F_CHAR buf[MAX_UNICODE_PATH];
|
||||||
|
|
||||||
if(!GetCurrentDirectory(MAX_PATH + 4, buf))
|
if(!GetCurrentDirectory(MAX_UNICODE_PATH, buf))
|
||||||
io_error();
|
io_error();
|
||||||
|
|
||||||
box_u16_string(buf);
|
box_u16_string(buf);
|
||||||
|
|
Loading…
Reference in New Issue