Changeset 24663

Show
Ignore:
Timestamp:
11/23/08 01:51:25 (5 years ago)
Author:
saturday06
Message:

pathappend

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/libintl-msvc/samples/sample.cpp

    r24628 r24663  
    3939 
    4040    const TCHAR dir[] = _T("locale"); 
    41     locale_dir.resize(locale_dir.size() + (sizeof(dir) / sizeof(*dir))); 
     41    locale_dir.resize(locale_dir.size() + (sizeof(dir) / sizeof(*dir)) + 1); 
    4242    if (PathAppend(&locale_dir[0], dir) == FALSE) { 
    4343        return 1;