Fix for Table Viewer

Sean Hinde sean.hinde@REDACTED
Tue Oct 19 23:12:36 CEST 2004


Hi,

TV crashes on OS X. This patch at least works around the problem (R10B):

--- tv_pw.erl.orig      Tue Oct 19 22:09:22 2004
+++ tv_pw.erl   Tue Oct 19 22:10:27 2004
@@ -280,7 +280,7 @@
             ?WIN_FUNC_FILE:resize_window(WindowId, FinalWidth, 
FinalHeight),
             MasterPid ! #pc_win_conf{sender = self(),
                                      width  = FinalWidth,
-                                    height = H},
+                                    height = FinalHeight},
             NewWinP = WinP#window_params{window_width  = FinalWidth,
                                          window_height = FinalHeight
                                         },

Enjoy!

Sean




More information about the erlang-patches mailing list