From ca555e7fd132306ab0931145fde1079879c3cd38 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 16 Oct 2012 22:10:49 +0100 Subject: remove extraneous linefeeds --- amiga/font_scan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amiga/font_scan.c b/amiga/font_scan.c index 549ea5064..5091314e6 100644 --- a/amiga/font_scan.c +++ b/amiga/font_scan.c @@ -259,10 +259,10 @@ ULONG ami_font_scan_fonts(struct MinList *list, do { nnode = (struct nsObject *)GetSucc((struct Node *)node); ami_font_scan_gui_update(win, node->dtz_Node.ln_Name, font_num, total); - LOG(("Scanning %s\n", node->dtz_Node.ln_Name)); + LOG(("Scanning %s", node->dtz_Node.ln_Name)); found = ami_font_scan_font(node->dtz_Node.ln_Name, glypharray); total += found; - LOG(("Found %ld new glyphs (total = %ld)\n", found, total)); + LOG(("Found %ld new glyphs (total = %ld)", found, total)); font_num++; } while(node = nnode); @@ -308,7 +308,7 @@ ULONG ami_font_scan_list(struct MinList *list) if(node) { node->dtz_Node.ln_Name = strdup(af[i].af_Attr.ta_Name); found++; - LOG(("Added %s\n", af[i].af_Attr.ta_Name)); + LOG(("Added %s", af[i].af_Attr.ta_Name)); } } } -- cgit v1.2.3 From f0a568b861fb8e200ec95f4b10344fa0f44dfff6 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 16 Oct 2012 22:12:12 +0100 Subject: remove standalone code which no longer compiles --- amiga/font_scan.c | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/amiga/font_scan.c b/amiga/font_scan.c index 5091314e6..a58acf01b 100644 --- a/amiga/font_scan.c +++ b/amiga/font_scan.c @@ -493,31 +493,4 @@ void ami_font_scan_init(const char *filename, bool force_scan, bool save, LOG(("Initialised with %ld glyphs", found)); } -#ifdef AMI_FONT_SCAN_STANDALONE -/* This can be compiled as standalone using: -* gcc -o font_scan font_scan.c object.c -lwapcaplet -lauto -I .. -D__USE_INLINE__ -DAMI_FONT_SCAN_STANDALONE -*/ -int main(int argc, char** argv) -{ - lwc_string *glypharray[0xffff + 1]; - ULONG found = 0; - BPTR fh; - struct MinList *list; - - if(argc < 2) return 5; - - printf("%s\n",argv[1]); - - list = NewObjList(); - ami_font_scan_init(argv[1], list, glypharray); - FreeObjList(list); - - ami_font_scan_fini(glypharray); - - return 0; -} - -void ami_font_close(APTR discard) { } -void ami_mime_entry_free(APTR discard) { } -#endif -- cgit v1.2.3