dtcm: make it build
[oweals/cde.git] / cde / lib / DtHelp / Selection.c
index 7a6e2b190653284272552f438d45fb3bbc915dea..9d8714e32e3f0959f542ed107a63bc9ebc31c6ba 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -58,6 +58,7 @@
 #include "CvStringI.h"
 #include "LayoutUtilI.h"
 #include "SelectionI.h"
+#include "VirtFuncsI.h"
 
 #ifdef NLS16
 #endif
@@ -1112,7 +1113,7 @@ _DtCvDrawAreaWithFlags (
                 * I.E. is this line before the start or after the end?
                 */
                if (canvas->txt_lst[i].max_x < start.x ||
-                                       end.y == start.y && end.x <= dstX )
+                                       (end.y == start.y && end.x <= dstX) )
                    continue;
 
                /*