From 43fb6a966b085afcac0813bfa1de95172f0609c2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 13 Apr 2024 23:00:19 +0800 Subject: [PATCH] Update error.cpp --- src/error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.cpp b/src/error.cpp index a1421d16..9ec28988 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -13,7 +13,7 @@ namespace pkpy{ index++; } this->source = ss.str(); - if(this->source.size > 5 && this->source.sv().substr(0, 5) == "pkpy:"){ + if(this->source.size>5 && this->source.sv().substr(0, 5)=="pkpy:"){ this->is_precompiled = true; }else{ this->is_precompiled = false;