Merge pull request #3 from pietro1991-dot/devin/1781637154-fix-objprop-bold

Co-authored-by: Pietro Giacobazzi <giacobazzipietro@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
pietro1991-dot
2026-06-16 21:13:47 +02:00
committed by GitHub
+1 -2
View File
@@ -191,8 +191,7 @@ void Lbl(string n,string t,int x,int y,int fs,color c,bool b)
ObjectSetInteger(0,o,OBJPROP_YDISTANCE,y);
ObjectSetInteger(0,o,OBJPROP_CORNER,CORNER_LEFT_UPPER);
ObjectSetString(0,o,OBJPROP_TEXT,t);
ObjectSetString(0,o,OBJPROP_FONT,"Consolas");
ObjectSetInteger(0,o,OBJPROP_BOLD,b?1:0);
ObjectSetString(0,o,OBJPROP_FONT,b?"Consolas Bold":"Consolas");
ObjectSetInteger(0,o,OBJPROP_FONTSIZE,fs);
ObjectSetInteger(0,o,OBJPROP_COLOR,c);
ObjectSetInteger(0,o,OBJPROP_BACK,false);