summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2011-01-24 13:02:21 +0100
committerJonathan Bauer2011-01-24 13:02:21 +0100
commitb604637ecc38632187502490caa447c3f6e71658 (patch)
treee4a06540de696d78334a787581c25b4f8cde0154
parentParsing command line arguments functionality, -qws option not yet handled cor... (diff)
downloadfbgui-b604637ecc38632187502490caa447c3f6e71658.tar.gz
fbgui-b604637ecc38632187502490caa447c3f6e71658.tar.xz
fbgui-b604637ecc38632187502490caa447c3f6e71658.zip
Forgot to reset initialisation of opt to 0, was a test...
-rw-r--r--fbbrowser/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbbrowser/main.cpp b/fbbrowser/main.cpp
index 5e008f8..2658e6a 100644
--- a/fbbrowser/main.cpp
+++ b/fbbrowser/main.cpp
@@ -27,7 +27,7 @@ QString getPath(const char* c)
int main(int argc, char *argv[])
{
// Parse command line arguments.
- int opt = 1;
+ int opt = 0;
int longIndex = 0;
// Declare the short options as a char*, these have exactly one - followed by letter from optString.
// For example: ./fbbrowser -h