diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-11-15 21:45:55 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-11-15 21:45:55 +0000 |
| commit | ec2f5449d635a301b82c84d5f1a031fef62b34af (patch) | |
| tree | 70be27a769645e9733b50192121ea4e577cc49fc /src/document.cpp | |
| parent | Update to trunk (diff) | |
| parent | fix typo in rev 12797 (diff) | |
| download | inkscape-ec2f5449d635a301b82c84d5f1a031fef62b34af.tar.gz inkscape-ec2f5449d635a301b82c84d5f1a031fef62b34af.zip | |
Update to trunk
(bzr r11950.1.200)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp index 3433e42ec..e6166ee82 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -968,7 +968,10 @@ Glib::ustring SPDocument::getLanguage() const if ( NULL == document_language || *document_language == 0 ) { document_language = getenv ("LANG"); } - + if ( NULL == document_language || *document_language == 0 ) { + document_language = getenv ("LANGUAGE"); + } + if ( NULL != document_language ) { const char *pos = strchr(document_language, '_'); if ( NULL != pos ) { |
