From 157f8cc7d50f6cedaa3198d72fa1ea33aef56d58 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Tue, 25 Jan 2022 03:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=97=E6=95=B0=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E8=BF=9B=E5=88=B6=E6=9B=B4=E6=98=8E=E6=98=BE=20close=20#624?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_arithmetic.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parts/scenes/app_arithmetic.lua b/parts/scenes/app_arithmetic.lua index 41acf3f3..77ccd1e4 100644 --- a/parts/scenes/app_arithmetic.lua +++ b/parts/scenes/app_arithmetic.lua @@ -12,7 +12,7 @@ local function b2(i) s=(i%2)..s i=int(i/2) end - return s + return '0b'..s end local function b8(i) if i==0 then return 0 end @@ -21,7 +21,7 @@ local function b8(i) s=(i%8)..s i=int(i/8) end - return s + return '0o'..s end local function b16(i) if i==0 then return 0 end @@ -30,7 +30,7 @@ local function b16(i) s=char((i%16<10 and 48 or 55)+i%16)..s i=int(i/16) end - return s + return '0x'..s end local levels={ @@ -208,7 +208,7 @@ function scene.draw() FONT.set(35) GC.mStr("["..level.."]",640,30) - FONT.set(100) + FONT.set(80) if type(question)=='table'then gc.setColor(1,1,1)end GC.mStr(question,640,60)