PaPP v2 indicator: fix bold regression (OBJPROP_BOLD)

This commit is contained in:
pietro_giacobazzi
2026-06-16 11:01:55 +02:00
parent 654091697b
commit cd04d6fbd7
+2 -1
View File
@@ -136,7 +136,8 @@ 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,b?"Consolas":"Consolas");
ObjectSetString(0,o,OBJPROP_FONT,"Consolas");
ObjectSetInteger(0,o,OBJPROP_BOLD,b?1:0);
ObjectSetInteger(0,o,OBJPROP_FONTSIZE,fs);
ObjectSetInteger(0,o,OBJPROP_COLOR,c);
ObjectSetInteger(0,o,OBJPROP_BACK,false);