From b604637ecc38632187502490caa447c3f6e71658 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 24 Jan 2011 13:02:21 +0100 Subject: Forgot to reset initialisation of opt to 0, was a test... --- fbbrowser/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fbbrowser/main.cpp') 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 -- cgit v1.2.3-55-g7522