~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to Top/getstring.c

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
#ifndef GNU_GETTEXT
44
44
void init_getstring(void)
45
45
{
 
46
    setlocale(LC_NUMERIC, "C"); /* Ensure C syntax */
46
47
}
47
48
PUBLIC char *csoundLocalizeString(const char *s)
48
49
{
63
64
/*       setlocale (LC_MESSAGES, s);    /\* Set to particular value *\/ */
64
65
/*    textdomain("csound5"); */  /* This is not needed when using dgettext */
65
66
    /* bind_textdomain_codeset("csound5", "UTF-8"); */
66
 
    /* This is experimental; where should these be?? */
67
67
    bindtextdomain("csound5", "/usr/share/locale");
 
68
    setlocale(LC_NUMERIC, "C"); /* Ensure C syntax */
68
69
}
69
70
 
70
71
PUBLIC char *csoundLocalizeString(const char *s)