chiark / gitweb /
onboard ship island name horizontal trim
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 26 Jun 2009 20:31:16 +0000 (21:31 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 26 Jun 2009 20:31:16 +0000 (21:31 +0100)
pctb/TODO
pctb/structure.c

index 33e66e7..465c15e 100644 (file)
--- a/pctb/TODO
+++ b/pctb/TODO
@@ -1,4 +1,3 @@
-onboard ship island name horizontal trim
 write real uploader
 test real uploader
 building island name extractor
index b80cb96..0bc3be1 100644 (file)
@@ -545,6 +545,9 @@ void find_islandname(void) {
     ADJUST_BOX(islandnamer,"o",5, 0,      MUST, tl,y,+1);
     ADJUST_BOX(islandnamer,"o",5, cim->h, MUST, br,y,-1);
 
+    ADJUST_BOX(islandnamer,"o",1, 0,      MUST, tl,x,+1);
+    ADJUST_BOX(islandnamer,"o",1, cim->w, MUST, br,x,-1);
+
     debug_rect("islandnamer",0, islandnamer);
 //    int larger_islandnamebry= islandnamer.tl.y + 25;
 //    MUST(islandnamer.br.y < larger_islandnamebry,