Changeset 162 for trunk/src


Ignore:
Timestamp:
12/07/09 15:12:13 (15 years ago)
Author:
tim
Message:

added UTF-16LE support for value names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r161 r162  
    5858  const char* str_type = NULL;
    5959
    60   quoted_name = quote_string(vk->valuename, key_special_chars);
     60  if(vk->valuename == NULL)
     61    quoted_name = quote_buffer(vk->valuename_raw, vk->name_length,
     62                               key_special_chars);
     63  else
     64    quoted_name = quote_string(vk->valuename, key_special_chars);
    6165  if (quoted_name == NULL)
    6266  { /* Value names are NULL when we're looking at the "(default)" value.
Note: See TracChangeset for help on using the changeset viewer.