$NetBSD: patch-aa,v 1.1.1.1 2002/09/07 20:22:54 jschauma Exp $ --- Baseresource.cc.orig Mon Aug 16 13:40:24 1999 +++ Baseresource.cc Sat Sep 7 15:58:39 2002 @@ -27,6 +27,9 @@ { bbtool = toolwindow; + style.conf_filename = NULL; + style.style_filename = NULL; + if (bbtool->default_config) { ReadDefaultResource(); ResourceType = DEFAULT; @@ -210,7 +213,7 @@ char * value_type; - if (!ReadResourceFromFilename("bbsload.styleFile", "Bbsload.StyleFile")) { + if (!ReadResourceFromFilename("bbapm.styleFile", "Bbapm.StyleFile")) { /* * use default stylefile */ @@ -278,9 +281,9 @@ fprintf(stderr, "Using internal defaults.\n"); } else { XrmCombineDatabase(db, &resource_db, False); - if (!ReadResourceFromFilename("bbsload.styleFile", "Bbsload.StyleFile")) { + if (!ReadResourceFromFilename("bbapm.styleFile", "Bbapm.StyleFile")) { fprintf(stderr, - "Could not open default style file bbsload.styleFile: in %s\n", + "Could not open default style file bbapm.styleFile: in %s\n", style.conf_filename); fprintf(stderr, "Using internal defaults.\n"); } else