aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-04-06 05:59:47 -0500
committerepoch <epoch@thebackupbox.net>2020-04-06 05:59:47 -0500
commitcfa28d6442dbb4b8037b5538f7bbd95604c261de (patch)
tree8e04f171bab234cdeb590061a5a5b76c4a57fb53 /share
parent2eea5bc2684c84aeaeba4a1f374ab96eb74b7885 (diff)
downloadhackvr-cfa28d6442dbb4b8037b5538f7bbd95604c261de.tar.gz
hackvr-cfa28d6442dbb4b8037b5538f7bbd95604c261de.zip
lol. the order of the arguments has been backwards the whole time
Diffstat (limited to 'share')
-rw-r--r--share/hackvr/examples/hackvr_term/hackvr_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hackvr/examples/hackvr_term/hackvr_term.c b/share/hackvr/examples/hackvr_term/hackvr_term.c
index 71f2492..40df2d1 100644
--- a/share/hackvr/examples/hackvr_term/hackvr_term.c
+++ b/share/hackvr/examples/hackvr_term/hackvr_term.c
@@ -151,7 +151,7 @@ void callback(tmt_msg_t m,TMT *vt, const void *a,void *vt_old) {
int main(int argc,char *argv[]) {
char in[16];
- if(argc < 3) return fprintf(stderr,"usage: ./hackvr_term rows cols\n"),1;
+ if(argc < 3) return fprintf(stderr,"usage: ./hackvr_term cols rows\n"),1;
int r=atoi(argv[2]);
int ret=0;
int c=atoi(argv[1]);