aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-08 17:29:24 (GMT)
committerfluxgen <fluxgen>2003-12-08 17:29:24 (GMT)
commitb40bea67b76c4de4a280e81a6b01645ed22588bf (patch)
tree9346d2ba05401001431ef93b89f2029210c4b115
parentf5b447362847a7b0dba39cf3e7e1f0fb9f06e1ea (diff)
downloadfluxbox-b40bea67b76c4de4a280e81a6b01645ed22588bf.zip
fluxbox-b40bea67b76c4de4a280e81a6b01645ed22588bf.tar.bz2
const
-rw-r--r--src/I18n.cc4
-rw-r--r--src/I18n.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/I18n.cc b/src/I18n.cc
index 3a01f94..c28e478 100644
--- a/src/I18n.cc
+++ b/src/I18n.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: I18n.cc,v 1.3 2003/08/26 23:53:49 fluxgen Exp $ 25// $Id: I18n.cc,v 1.4 2003/12/08 17:29:24 fluxgen Exp $
26 26
27//usr GNU extensions 27//usr GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -125,7 +125,7 @@ void I18n::openCatalog(const char *catalog) {
125 125
126 126
127const char *I18n::getMessage(int set_number, int message_number, 127const char *I18n::getMessage(int set_number, int message_number,
128 const char *default_message) { 128 const char *default_message) const {
129 129
130#if defined(NLS) && defined(HAVE_CATGETS) 130#if defined(NLS) && defined(HAVE_CATGETS)
131 if (m_catalog_fd != (nl_catd)-1) 131 if (m_catalog_fd != (nl_catd)-1)
diff --git a/src/I18n.hh b/src/I18n.hh
index 4397cd8..26292c5 100644
--- a/src/I18n.hh
+++ b/src/I18n.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: I18n.hh,v 1.1 2003/06/12 14:24:25 fluxgen Exp $ 25// $Id: I18n.hh,v 1.2 2003/12/08 17:29:24 fluxgen Exp $
26 26
27#ifndef I18N_HH 27#ifndef I18N_HH
28#define I18N_HH 28#define I18N_HH
@@ -54,7 +54,7 @@ public:
54 inline const nl_catd &getCatalogFd() const { return m_catalog_fd; } 54 inline const nl_catd &getCatalogFd() const { return m_catalog_fd; }
55 55
56 const char *getMessage(int set_number, int message_number, 56 const char *getMessage(int set_number, int message_number,
57 const char *default_messsage = 0); 57 const char *default_messsage = 0) const;
58 void openCatalog(const char *catalog); 58 void openCatalog(const char *catalog);
59private: 59private:
60 I18n(); 60 I18n();