From 47e4e68eee213e374db0663926a28ce6ea7e01b7 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 3 Jun 2022 14:47:43 +0300 Subject: [PATCH] fix )profile@123 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3f349ce4..323d7cfc 100644 --- a/src/main.c +++ b/src/main.c @@ -81,7 +81,7 @@ void cbqn_runLine0(char* ln, i64 read) { profile = '@'==*(cpos-1)? readInt(&cpos) : 5000; if (profile==0) { printf("Cannot profile with 0hz sampling frequency\n"); return; } if (profile>999999) { printf("Cannot profile with >999999hz frequency\n"); return; } - code = fromUTF8l(cmdE); + code = fromUTF8l(cpos); output = 0; } else if (isCmd(cmdS, &cmdE, "t:") || isCmd(cmdS, &cmdE, "time:")) { char* repE = cmdE;