VirtualBox

Changeset 44879 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 28, 2013 10:10:20 PM (12 years ago)
Author:
vboxsync
Message:

GA: Linux: Shared folders: treat more accurate with default NLS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r44878 r44879  
    127127    else
    128128    {
     129#ifdef CONFIG_NLS_DEFAULT
    129130        /* If no NLS charset specified, try to load the default
    130131         * one if it's not points to UTF8. */
    131         if (_IS_UTF8(CONFIG_NLS_DEFAULT))
     132        if (!_IS_UTF8(CONFIG_NLS_DEFAULT) && CONFIG_NLS_DEFAULT != "")
     133            sf_g->nls = load_nls_default();
     134        else
     135#endif
    132136            sf_g->nls = NULL;
    133         else
    134             sf_g->nls = load_nls_default();
     137
    135138    }
    136139#undef _IS_UTF8
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette