+
+ // The installer uses a variable width font. Assume roughly 32 chars
+ // will fit and munge the file accordingly.
+#define MAX_DISP_SIZE 50
+ disp_file = strdup(dest_file);
+ if ((len = strlen(dest_file)) > MAX_DISP_SIZE) {
+ disp_file += (len - MAX_DISP_SIZE);
+ disp_file[0] = '.';
+ disp_file[1] = '.';
+ disp_file[2] = '.';
+ }
+#undef MAX_DISP_SIZE
+ SetWindowText (ins_filename, disp_file);