~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/xlibi18n/XlcDL.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
{
144
144
        char *result;
145
145
 
146
 
        if ((result = malloc(strlen(symbol) + 2)) == NULL) 
 
146
        if ((result = malloc(strlen(symbol) + 2)) == NULL)
147
147
                return NULL;
148
148
        result[0] = '_';
149
149
        strcpy(result + 1, symbol);
213
213
          if (!xi18n_objects_list) return;
214
214
        }
215
215
        n = parse_line(p, args, 6);
216
 
        
 
216
 
217
217
        if (n == 3 || n == 5) {
218
218
          if (!strcmp(args[0], "XLC")){
219
219
            xi18n_objects_list[lc_count].type = XLC_OBJECT;
323
323
     char *lc_dir)
324
324
{
325
325
  char *path;
326
 
  
 
326
 
327
327
  if (object->refcount == 0) {
328
328
      path = __lc_path(object->dl_name, lc_dir);
329
329
      if (!path)
430
430
        if (lcd != (XLCd)NULL) {
431
431
            break;
432
432
        }
433
 
        
 
433
 
434
434
        close_object (objects_list);
435
435
    }
436
436
    return (XLCd)lcd;
468
468
    if (im != (XIM)NULL) {
469
469
        break;
470
470
    }
471
 
    
 
471
 
472
472
    close_object (objects_list);
473
473
  }
474
474
  return (XIM)im;
612
612
        strcmp(objects_list->locale_name, lc_name)) continue;
613
613
    if (!open_object (objects_list, lc_dir))
614
614
        continue;
615
 
    
 
615
 
616
616
    om_openOM = (dynamicIOpenProcp)fetch_symbol(objects_list, objects_list->open);
617
617
    if (!om_openOM) continue;
618
618
    om = (*om_openOM)(lcd, display, rdb, res_name, res_class);