summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a47064c)
raw | patch | inline | side by side (parent: a47064c)
author | dwyip <dwyip@users.sourceforge.net> | |
Sat, 15 Jul 2006 22:15:26 +0000 (22:15 +0000) | ||
committer | dwyip <dwyip@users.sourceforge.net> | |
Sat, 15 Jul 2006 22:15:26 +0000 (22:15 +0000) |
src/inkview.cpp | patch | blob | history |
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 3caed0df5643239faf3c24f5ae0e714454c6ed28..95af5b73432b4596d485d4ae6ab720978e05b965 100644 (file)
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
switch(option) {
case 't': // for timer
// fprintf(stderr, "set timer arg %s\n", optarg );
- ss.timer = int(optarg);
+ ss.timer = atoi(optarg);
num_parsed_options += 2; // 2 because of flag + option
break;
case '?':