/[weechat]/weechat/src/gui/gui-common.c
ViewVC logotype

Diff of /weechat/src/gui/gui-common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by flashcode, Sat Apr 30 19:21:28 2005 UTC revision 1.38 by flashcode, Thu May 5 16:26:34 2005 UTC
# Line 66  gui_window_new (int x, int y, int width, Line 66  gui_window_new (int x, int y, int width,
66      t_gui_window *new_window;      t_gui_window *new_window;
67            
68      #ifdef DEBUG      #ifdef DEBUG
69      wee_log_printf ("creating new window (x:%d, y:%d, width:%d, height:%d)\n",      wee_log_printf ("Creating new window (x:%d, y:%d, width:%d, height:%d)\n",
70                      x, y, width, height);                      x, y, width, height);
71      #endif      #endif
72      if ((new_window = (t_gui_window *)(malloc (sizeof (t_gui_window)))))      if ((new_window = (t_gui_window *)(malloc (sizeof (t_gui_window)))))
# Line 138  gui_buffer_new (t_gui_window *window, vo Line 138  gui_buffer_new (t_gui_window *window, vo
138      t_gui_buffer *new_buffer;      t_gui_buffer *new_buffer;
139            
140      #ifdef DEBUG      #ifdef DEBUG
141      wee_log_printf ("creating new buffer\n");      wee_log_printf ("Creating new buffer\n");
142      #endif      #endif
143            
144      /* use first buffer if no server was assigned to this buffer */      /* use first buffer if no server was assigned to this buffer */
# Line 327  gui_infobar_printf (int time_displayed, Line 327  gui_infobar_printf (int time_displayed,
327          gui_draw_buffer_infobar (gui_current_window->buffer, 1);          gui_draw_buffer_infobar (gui_current_window->buffer, 1);
328      }      }
329      else      else
330          wee_log_printf (_("%s not enough memory for infobar message\n"),          wee_log_printf (_("Not enough memory for infobar message\n"));
                         WEECHAT_ERROR);  
331            
332      free (buf2);      free (buf2);
333  }  }
# Line 503  gui_new_line (t_gui_buffer *buffer) Line 502  gui_new_line (t_gui_buffer *buffer)
502      }      }
503      else      else
504      {      {
505          wee_log_printf (_("%s not enough memory for new line!\n"));          wee_log_printf (_("Not enough memory for new line\n"));
506          return NULL;          return NULL;
507      }      }
508            
# Line 546  gui_new_message (t_gui_buffer *buffer) Line 545  gui_new_message (t_gui_buffer *buffer)
545      }      }
546      else      else
547      {      {
548          wee_log_printf (_("not enough memory!\n"));          wee_log_printf (_("Not enough memory for new message\n"));
549          return NULL;          return NULL;
550      }      }
551      return new_message;      return new_message;

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26