GDT Tutorial: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Glauxosdever (talk | contribs) |
fixed unbalanced parenthesis, will no longer throw errors |
||
Line 87: | Line 87: | ||
{ |
{ |
||
// Check the limit to make sure that it can be encoded |
// Check the limit to make sure that it can be encoded |
||
if ((source.limit > 65536) && (source.limit & 0xFFF) != 0xFFF)) { |
if ((source.limit > 65536) && ((source.limit & 0xFFF) != 0xFFF)) { |
||
kerror("You can't do that!"); |
kerror("You can't do that!"); |
||
} |
} |