about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--draw.c2
-rw-r--r--main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index 3ddc522..9204ee8 100644
--- a/draw.c
+++ b/draw.c
@@ -109,7 +109,7 @@ drawstatus()
 		else
 			drawtext(tags[i], dc.norm, sel && sel->tags[i]);
 	}
-	x = dc.x + dc.w + 1;
+	x = dc.x + dc.w + 2;
 	dc.w = textw(stext);
 	dc.x = bx + bw - dc.w;
 	if(dc.x < x) {
diff --git a/main.c b/main.c
index 7ada114..d2da0c1 100644
--- a/main.c
+++ b/main.c
@@ -129,7 +129,7 @@ setup()
 	dc.status[ColFG] = getcolor(STATUSFGCOLOR);
 	setfont(FONT);
 
-	modew = textw(FLOATSYMBOL) > textw(TILEDSYMBOL) ? textw(FLOATSYMBOL) : textw(TILEDSYMBOL);
+	modew = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL);
 	sx = sy = 0;
 	sw = DisplayWidth(dpy, screen);
 	sh = DisplayHeight(dpy, screen);
ss='alt'>
82177734 ^
e6692482 ^
f3760b0f ^
9dcbec39 ^
83266c76 ^
e6692482 ^
795f5244 ^
82177734 ^
e6692482 ^


a0b9fa55 ^
e6692482 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


                                                                              
                                                
                                                                  


                                                      
                                                                                                               

                                                                                      
                                                            
                                               
                                
                                                   
                                                                                                  
               
     
                                                    
                                       


   
                                                                        


                        
//: Once all code is loaded, save operation ids of instructions and check that
//: nothing's undefined.

:(before "End Instruction Modifying Transforms")
Transform.push_back(update_instruction_operations);  // idempotent

:(code)
void update_instruction_operations(recipe_ordinal r) {
  trace(9991, "transform") << "--- compute instruction operations for recipe " << get(Recipe, r).name << end();
  recipe& caller = get(Recipe, r);
//?   cerr << "--- compute instruction operations for recipe " << caller.name << '\n';
  for (int index = 0; index < SIZE(caller.steps); ++index) {
    instruction& inst = caller.steps.at(index);
    if (inst.is_label) continue;
    if (!contains_key(Recipe_ordinal, inst.name)) {
      raise << maybe(caller.name) << "instruction '" << inst.name << "' has no recipe\n" << end();
      continue;
    }
    inst.operation = get(Recipe_ordinal, inst.name);
    // End Instruction Operation Checks
  }
}

// hook to suppress inserting recipe name into errors (for later layers)
string maybe(string s) {
  return s + ": ";
}