Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: common/src/IE_Version.cpp

Issue 6216090891845632: Issue #404 - Create common library shared between plugin/engine and installer (Closed)
Patch Set: Created Jan. 9, 2015, 8:07 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #include "IE_version.h" 1 #include "IE_Version.h"
2 #include "Registry.h" 2 #include "Registry.h"
3 #include <cstdlib> 3 #include <cstdlib>
4 4
5 using namespace AdblockPlus; 5 using namespace AdblockPlus;
6 6
7 /** 7 /**
8 * Internal implementation of the IE version string. 8 * Internal implementation of the IE version string.
9 * 9 *
10 * This version throws exceptions for its errors, relying on its caller to handl e them. 10 * This version throws exceptions for its errors, relying on its caller to handl e them.
11 * 11 *
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 else if (version[2] == L'.') 87 else if (version[2] == L'.')
88 { 88 {
89 return 10 * (version[0] - L'0') + (version[1] - L'0'); 89 return 10 * (version[0] - L'0') + (version[1] - L'0');
90 } 90 }
91 } 91 }
92 catch (...) 92 catch (...)
93 { 93 {
94 } 94 }
95 return 0; 95 return 0;
96 } 96 }
OLDNEW
« common/common.gypi ('K') | « common/include/Registry.h ('k') | common/src/Registry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld