Changeset 27c3a93 for owl.c


Ignore:
Timestamp:
Oct 17, 2003, 8:55:32 PM (17 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
2a2bb60
Parents:
b4db911
Message:
2.0.9-pre-2
	Better reporting of perl errors (both into the errqueue
	        and also clearing the error after displaying it).
	Allow default_style to be specified in config.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    rec6ff52 r27c3a93  
    279279  /* set the startup and default style, based on userclue and presence of a
    280280   * formatting function */
    281   if (owl_global_is_config_format(&g)) {
     281  if (0 != strcmp(owl_global_get_default_style(&g), "__unspecified__")) {
     282    /* the style was set by the user: leave it alone */
     283  } else if (owl_global_is_config_format(&g)) {
    282284    owl_global_set_default_style(&g, "perl");
    283285  } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) {
Note: See TracChangeset for help on using the changeset viewer.