[gnome-boxes] Don't use chained relational expressions
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Don't use chained relational expressions
- Date: Mon, 24 Oct 2011 21:19:38 +0000 (UTC)
commit 77780dd410d8506a454dd6bc0d55fcd06b35c701
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Oct 25 00:17:08 2011 +0300
Don't use chained relational expressions
We can use them when they are not experimental anymore.
src/wizard.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 58d5d00..9ebf897 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -233,7 +233,8 @@ private class Boxes.Wizard: Boxes.UI {
}
private bool skip_page (Boxes.WizardPage page) {
- if (Boxes.WizardPage.SOURCE < page < Boxes.WizardPage.REVIEW &&
+ if (page > Boxes.WizardPage.SOURCE &&
+ page < Boxes.WizardPage.REVIEW &&
this.source.page == Boxes.SourcePage.URL)
return true;
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]