summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--startx.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6492c16..3cca27a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-25 Jeremy C. Reed <reed@reedmedia.net>
+
+ * startx.cpp:
+ Bug #4449 <https://bugs.freedesktop.org/show_bug.cgi?id=4449>
+ Be more portable (for different /bin/sh shells) for
+ the arithmetic.
+
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/startx.cpp b/startx.cpp
index a1e0118..7a6dfab 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -208,7 +208,7 @@ add $displayname . $mcookie
EOF
removelist="$displayname $removelist"
else
- dummy=$((dummy+1));
+ dummy=$(($dummy+1));
XAUTH -q -f $xserverauthfile << EOF
add :$dummy . $authcookie
EOF