Changeset 27d8d83 for functions.c


Ignore:
Timestamp:
Sep 12, 2007, 9:37:41 PM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
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:
86840c5
Parents:
79c06ae
Message:
Do ~-expansion in :loadsubs. closes #26
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    ref9438a r27d8d83  
    849849{
    850850  int ret, ret2;
    851   char *foo;
     851  char *foo, *path;
    852852
    853853  if (file==NULL) {
    854854    ret=owl_zephyr_loadsubs(NULL, 0);
    855855  } else {
    856     ret=owl_zephyr_loadsubs(file, 1);
     856    path = owl_util_makepath(file);
     857    ret=owl_zephyr_loadsubs(path, 1);
     858    free(path);
    857859  }
    858860
Note: See TracChangeset for help on using the changeset viewer.