diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-01 21:46:23 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-01 21:46:23 +0000 |
commit | 32d00b320d12706ead14baad04f11cec2823df77 (patch) | |
tree | cfc0c49cbb93c2910107729921f14d9e54ca3824 /Foundation/GTMSystemVersion.m | |
parent | 2a0b7a682f110725f74ec102f8657fc609a99285 (diff) |
- Check bugfix before derefing it (bug, was checking major).
- Add to the unittest to fetch each one individually.
Diffstat (limited to 'Foundation/GTMSystemVersion.m')
-rw-r--r-- | Foundation/GTMSystemVersion.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMSystemVersion.m b/Foundation/GTMSystemVersion.m index f9c7861..be5d7c3 100644 --- a/Foundation/GTMSystemVersion.m +++ b/Foundation/GTMSystemVersion.m @@ -102,7 +102,7 @@ NSString *const kGTMSystemBuild10_6_0_10A190 = @"10A190"; if (minor) { *minor = sGTMSystemVersionMinor; } - if (major) { + if (bugFix) { *bugFix = sGTMSystemVersionBugFix; } } |