Sha256: b291a228d0176cff370f6fded3d7e0582a24452fa77166ec65d32296876c9a9f

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

#include <Gosu/Utility.hpp>
#include "WinUtility.hpp"
#include <windows.h>
using namespace std;

string Gosu::language()
{
    LCID lcid = GetUserDefaultLCID();
    char buffer[9];
    Win::check(
        GetLocaleInfoA(lcid, LOCALE_SISO639LANGNAME, buffer, sizeof buffer));
    return buffer;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gosu-0.10.9.pre1 src/UtilityWin.cpp
gosu-0.10.8 src/UtilityWin.cpp