TTimo/GtkRadiant — pull request #241 by xycaleth (2013-11-01 00:28:58+00:00)
Title: Fixed a number of out of bounds accesses.

Visual Studio's static code analyser found a number of out of bounds array accesses. This commit fixes a number of them as well as a few other problems the analyser brought up.

This also fixes #1 in the issue tracker.