Skip to content

Commit 2030b97

Browse files
committed
Ok I think the problem is because I used fprintf()
1 parent e3efcd1 commit 2030b97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static void loadGame(mrb_state* mrb, char* path, int argc, char* argv[]) {
6868
if(isFused(path)) {
6969
// Load the Ruby code with PhysFS
7070
if(!PHYSFS_exists("main.rb")) {
71-
fprintf(stderr, "There's no main.rb in the fused archive!\n");
71+
printf("There's no main.rb in the fused archive!\n");
7272
return;
7373
}
7474

@@ -95,7 +95,7 @@ static void loadGame(mrb_state* mrb, char* path, int argc, char* argv[]) {
9595
if(argc > 1) {
9696
FILE* inputFile = fopen(argv[1], "r");
9797
if(inputFile == NULL) {
98-
fprintf(stderr, "Path %s is invalid!\n", argv[1]);
98+
printf("Path %s is invalid!\n", argv[1]);
9999
return;
100100
}
101101
// Skip an argument since it is the file path

0 commit comments

Comments
 (0)