- Timestamp:
- Mar 1, 2007, 1:52:22 AM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 95caa16
- Parents:
- 2d1feac
- git-author:
- Nelson Elhage <nelhage@mit.edu> (03/01/07 01:51:51)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (03/01/07 01:52:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r124aebc r39dc159 316 316 owl_aim_init(); 317 317 318 /* if the config defines a formatting function, add 'perl' as a style */319 if (owl_global_is_config_format(&g)) {320 owl_function_debugmsg("Found perl formatting");321 s=owl_malloc(sizeof(owl_style));322 owl_style_create_perl(s, "perl", "BarnOwl::_format_msg_legacy_wrap",323 "User-defined perl style that calls BarnOwl::format_msg"324 "with legacy global variable support");325 owl_global_add_style(&g, s);326 owl_global_set_default_style(&g, "perl");327 }328 329 318 /* execute the startup function in the configfile */ 330 319 owl_function_debugmsg("startup: executing perl startup, if applicable"); … … 407 396 } 408 397 409 owl_function_debugmsg("startup: set style for the view ");398 owl_function_debugmsg("startup: set style for the view: %s", owl_global_get_default_style(&g)); 410 399 owl_view_set_style(owl_global_get_current_view(&g), 411 400 owl_global_get_style_by_name(&g, owl_global_get_default_style(&g)));
Note: See TracChangeset
for help on using the changeset viewer.