Changeset 2772


Ignore:
Timestamp:
Aug 20, 2006, 9:49:01 AM (19 years ago)
Author:
bird
Message:

wchar_t can be anything, it doesn't even have to be unicode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synergy/lib/arch/CArchStringUnix.cpp

    r2749 r2772  
    22 * synergy -- mouse and keyboard sharing utility
    33 * Copyright (C) 2002 Chris Schoeneman
    4  * 
     4 *
    55 * This package is free software; you can redistribute it and/or
    66 * modify it under the terms of the GNU General Public License
    77 * found in the file COPYING that should have accompanied this file.
    8  * 
     8 *
    99 * This package is distributed in the hope that it will be useful,
    1010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     
    2626CArchStringUnix::getWideCharEncoding()
    2727{
    28         return kUCS4;
     28        return sizeof(wchar_t) == 2 ? kUTF16 : kUCS4;
    2929}
Note: See TracChangeset for help on using the changeset viewer.