aboutsummaryrefslogtreecommitdiff
path: root/src/Layer.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-05 07:05:21 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-05 07:05:21 (GMT)
commit24bea22035e79c17fa6b6fdcd60f88e4eac467d8 (patch)
treee0cae9682c279558cbaa106d0572118ee76652db /src/Layer.hh
parent9d71ad9c1477875001ecd19eb4cbbe1c4ba4eb40 (diff)
downloadfluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.zip
fluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.tar.bz2
add SetLayer key command
Diffstat (limited to 'src/Layer.hh')
-rw-r--r--src/Layer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Layer.hh b/src/Layer.hh
index 58fb5b6..da8f04c 100644
--- a/src/Layer.hh
+++ b/src/Layer.hh
@@ -54,7 +54,7 @@ public:
54 54
55 explicit Layer(int i) : m_num(i) {}; 55 explicit Layer(int i) : m_num(i) {};
56 56
57 static int getNumFromString(string &str) { 57 static int getNumFromString(const string &str) {
58 int tempnum = 0; 58 int tempnum = 0;
59 if (sscanf(str.c_str(), "%d", &tempnum) == 1) 59 if (sscanf(str.c_str(), "%d", &tempnum) == 1)
60 return tempnum; 60 return tempnum;