gbrainy r226 - trunk/src
- From: jmas svn gnome org
- To: svn-commits-list gnome org
- Subject: gbrainy r226 - trunk/src
- Date: Mon, 18 Feb 2008 21:38:23 +0000 (GMT)
Author: jmas
Date: Mon Feb 18 21:38:23 2008
New Revision: 226
URL: http://svn.gnome.org/viewvc/gbrainy?rev=226&view=rev
Log:
Fixes enum name
Modified:
trunk/src/MathArithmetical.cs
Modified: trunk/src/MathArithmetical.cs
==============================================================================
--- trunk/src/MathArithmetical.cs (original)
+++ trunk/src/MathArithmetical.cs Mon Feb 18 21:38:23 2008
@@ -27,7 +27,7 @@
public enum Operation
{
Addition = 0,
- Substraction,
+ Subtraction,
Multiplication,
LastOperation
}
@@ -71,7 +71,7 @@
switch (operation) {
case Operation.Addition:
- case Operation.Substraction:
+ case Operation.Subtraction:
operations = 2 + random.Next (max_operations);
break;
case Operation.Multiplication:
@@ -89,7 +89,7 @@
case Operation.Addition:
result += operands[i];
break;
- case Operation.Substraction:
+ case Operation.Subtraction:
result -= operands[i];
break;
case Operation.Multiplication:
@@ -120,7 +120,7 @@
case Operation.Addition:
gr.ShowText ("+");
break;
- case Operation.Substraction:
+ case Operation.Subtraction:
gr.ShowText ("-");
break;
case Operation.Multiplication:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]