diff mbox

[Branch,~glcompbench-dev/glcompbench/trunk] Rev 30: Fix source code indentation.

Message ID 20110623142315.3922.1014.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org June 23, 2011, 2:23 p.m. UTC
------------------------------------------------------------
revno: 30
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Thu 2011-06-23 14:26:39 +0300
message:
  Fix source code indentation.
modified:
  src/options.cc


--
lp:glcompbench
https://code.launchpad.net/~glcompbench-dev/glcompbench/trunk

You are subscribed to branch lp:glcompbench.
To unsubscribe from this branch go to https://code.launchpad.net/~glcompbench-dev/glcompbench/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/options.cc'
--- src/options.cc	2011-06-23 09:49:07 +0000
+++ src/options.cc	2011-06-23 11:26:39 +0000
@@ -124,36 +124,36 @@ 
         if (option_index != -1)
             optname = long_options[option_index].name;
 
-       if (!strcmp(optname, "ids"))
-           parse_window_ids(optarg, Options::window_ids);
-       else if (!strcmp(optname, "size"))
-           Options::size = strtol(optarg, NULL, 10);
-       else if (!strcmp(optname, "no-accel-tfp"))
-           Options::use_accel_tfp = false;
-       else if (!strcmp(optname, "no-vbo"))
-           Options::use_vbo = false;
-       else if (!strcmp(optname, "benchmark"))
-           Options::benchmarks.push_back(optarg);
-       else if (!strcmp(optname, "no-draw"))
-           Options::draw = false;
-       else if (!strcmp(optname, "idle-redraw"))
-           Options::idle_redraw = true;
-       else if (!strcmp(optname, "force-tex-update"))
-           Options::force_tex_update = true;
-       else if (!strcmp(optname, "run-forever"))
-           Options::run_forever = true;
-       else if (!strcmp(optname, "num-iters"))
-           Options::num_iterations = strtol(optarg, NULL, 10);
-       else if (!strcmp(optname, "list-tests"))
-           Options::list_tests = true;
-       else if (!strcmp(optname, "manual-redirect"))
-           Options::manual_redirect = true;
-       else if (!strcmp(optname, "no-swap-buffers"))
-           Options::swap_buffers = false;
-       else if (!strcmp(optname, "debug"))
-           Options::show_debug = true;
-       else if (!strcmp(optname, "help"))
-           Options::show_help = true;
+        if (!strcmp(optname, "ids"))
+            parse_window_ids(optarg, Options::window_ids);
+        else if (!strcmp(optname, "size"))
+            Options::size = strtol(optarg, NULL, 10);
+        else if (!strcmp(optname, "no-accel-tfp"))
+            Options::use_accel_tfp = false;
+        else if (!strcmp(optname, "no-vbo"))
+            Options::use_vbo = false;
+        else if (!strcmp(optname, "benchmark"))
+            Options::benchmarks.push_back(optarg);
+        else if (!strcmp(optname, "no-draw"))
+            Options::draw = false;
+        else if (!strcmp(optname, "idle-redraw"))
+            Options::idle_redraw = true;
+        else if (!strcmp(optname, "force-tex-update"))
+            Options::force_tex_update = true;
+        else if (!strcmp(optname, "run-forever"))
+            Options::run_forever = true;
+        else if (!strcmp(optname, "num-iters"))
+            Options::num_iterations = strtol(optarg, NULL, 10);
+        else if (!strcmp(optname, "list-tests"))
+            Options::list_tests = true;
+        else if (!strcmp(optname, "manual-redirect"))
+            Options::manual_redirect = true;
+        else if (!strcmp(optname, "no-swap-buffers"))
+            Options::swap_buffers = false;
+        else if (!strcmp(optname, "debug"))
+            Options::show_debug = true;
+        else if (!strcmp(optname, "help"))
+            Options::show_help = true;
     }
 
     return true;