commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-commons-sandbox/daemon/src/native/nt/procrun procgui.c
Date Mon, 05 May 2003 17:14:21 GMT
mturk       2003/05/05 10:14:21

  Modified:    daemon/src/native/nt/procrun procgui.c
  Log:
  Fix the core dump in properties window when no
  Java Options are present.
  
  Revision  Changes    Path
  1.19      +2 -3      jakarta-commons-sandbox/daemon/src/native/nt/procrun/procgui.c
  
  Index: procgui.c
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/procgui.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- procgui.c	5 May 2003 16:17:42 -0000	1.18
  +++ procgui.c	5 May 2003 17:14:21 -0000	1.19
  @@ -671,7 +671,7 @@
   
           break;
           case WM_INITDIALOG:
  -            SetDlgItemText(hdlg, RC_TXT_JVM, g_env->m->java.display);
  +            SetDlgItemText(hdlg, RC_TXT_JVM, g_env->m->java.display);
               sprintf(txt, "%s;%s;%s", g_env->m->java.start_class,
                                        g_env->m->java.start_method,
                                        g_env->m->java.start_param);
  @@ -679,12 +679,11 @@
               sprintf(txt, "%s;%s;%s", g_env->m->java.stop_class,
                                        g_env->m->java.stop_method,
                                        g_env->m->java.stop_param);
  -            SetDlgItemText(hdlg, RC_TXT_EC, txt);
  +            SetDlgItemText(hdlg, RC_TXT_EC, txt);
               if (g_env->m->java.display &&
                   !strcmp(g_env->m->java.display, "auto"))
                   CheckDlgButton(hdlg, RC_CHK_JVM, BST_CHECKED);
               
  -            strcpy(txt, g_env->m->java.opts);
               memset(txt, 0, 4096);
               d = &txt[0];
               for (s = g_env->m->java.opts; s && *s; s++) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message