Skip to content

Commit

Permalink
fix Windows simulator build
Browse files Browse the repository at this point in the history
  • Loading branch information
andycarle committed Mar 23, 2022
1 parent 28c9abb commit e515f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/simulators/modules/screen.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2018 Moddable Tech, Inc.
* Copyright (c) 2016-2022 Moddable Tech, Inc.
*
* This file is part of the Moddable SDK Tools.
*
Expand Down Expand Up @@ -433,7 +433,7 @@ void fxScreenLaunch(txScreen* screen)

while (scriptCount--) {
if (0 == c_strncmp(script->path, "setup/", 6)) {
char path[PATH_MAX];
char path[C_PATH_MAX];
char *dot;

c_strcpy(path, script->path);
Expand Down

0 comments on commit e515f6c

Please sign in to comment.