Skip to content

Commit

Permalink
Fix Cygwin build (format not found)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edd12321 committed Aug 20, 2023
1 parent 6aaad5c commit 2969fdd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Empty file modified .zrc
100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions src/dispatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ Command(read) {
}
}
// buffers
char b[(n > 0) ? (n+1) : 1];
char b[(n > 0) ? (n+1) : 1];
char c;
#define GET_INPUT \
buf.clear(); \
Expand Down Expand Up @@ -562,9 +562,9 @@ Command(set) {
if (argv[i][len-1] == '=') {
argv[i][len-1] = '\0';
setvar(argv[i-1], expr(zrc_fmt("(%s)%s(%s)",
getvar(argv[i-1]).data(),
argv[i],
argv[i+1])));
getvar(argv[i-1]).data(),
argv[i],
argv[i+1])));
} else syntax_error(se);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <algorithm>
#include <filesystem>
#include <format>
//#include <format>
#include <fstream>
#include <functional>
#include <iomanip>
Expand Down

0 comments on commit 2969fdd

Please sign in to comment.