Changeset d4927a7 for keymap.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:46 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
3472845
Parents:
ddbbcffa
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:55:10)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:46)
Message:
Replace owl_strdup with g_strdup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keymap.c

    rddbbcffa rd4927a7  
    99{
    1010  if (!name || !desc) return(-1);
    11   if ((km->name = owl_strdup(name)) == NULL) return(-1);
    12   if ((km->desc = owl_strdup(desc)) == NULL) return(-1);
     11  if ((km->name = g_strdup(name)) == NULL) return(-1);
     12  if ((km->desc = g_strdup(desc)) == NULL) return(-1);
    1313  if (0 != owl_list_create(&km->bindings)) return(-1);
    1414  km->parent = NULL;
Note: See TracChangeset for help on using the changeset viewer.