dtfile: Resolve CID 89277
authorPeter Howkins <flibble@users.sf.net>
Thu, 15 Jan 2015 15:37:32 +0000 (15:37 +0000)
committerPeter Howkins <flibble@users.sf.net>
Thu, 15 Jan 2015 15:37:32 +0000 (15:37 +0000)
cde/programs/dtfile/IconWindow.c

index 71ed54285bd657f5c92b2406955fb1ecdcc39f76..6bf37ff4df34300ab5871325e797c556d471763a 100644 (file)
@@ -1465,6 +1465,11 @@ GetSelectionRectangle(
                         else
                            pixmap_x = x + highlightThickness;
                      }
+                     else
+                     {
+                        fprintf(stderr, "GetSelectionRectangle: unsupported alignment %d , defaulting to Beginning\n", alignment);
+                        pixmap_x = x + highlightThickness;
+                     }
                      break;
                   case XmPIXMAP_LEFT:
                   default: