/[winpt]/trunk/Src/wptClipEditDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptClipEditDlg.cpp

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

revision 229 by twoaday, Mon Jun 19 14:04:31 2006 UTC revision 231 by twoaday, Tue Jun 20 09:18:44 2006 UTC
# Line 86  load_clipboard (HWND dlg, Line 86  load_clipboard (HWND dlg,
86    
87      if (header && footer) {      if (header && footer) {
88          const char *fmt = "%s\r\n%s\r\n%s";          const char *fmt = "%s\r\n%s\r\n%s";
89          int len = strlen (header) + strlen (footer) + strlen (fmt) + strlen (p);          int len;
90    
91            len = strlen (header) + strlen (footer) + strlen (fmt) + strlen (p);
92          pp = new char[len + 1];          pp = new char[len + 1];
93          if (!pp)          if (!pp)
94              BUG (0);              BUG (0);
# Line 214  clip_edit_dlg_proc (HWND dlg, UINT msg, Line 215  clip_edit_dlg_proc (HWND dlg, UINT msg,
215    
216      switch (msg)  {      switch (msg)  {
217      case WM_INITDIALOG:      case WM_INITDIALOG:
218            /* XXX: it would be really nice to have tempest prevention fonts. */
219          SetWindowText (dlg, _("Clipboard Editor"));          SetWindowText (dlg, _("Clipboard Editor"));
220          SetDlgItemText (dlg, IDC_CLIPEDIT_SEND, _("&Copy"));          SetDlgItemText (dlg, IDC_CLIPEDIT_SEND, _("&Copy"));
221          SetDlgItemText (dlg, IDC_CLIPEDIT_CLEAR, _("Clea&r"));          SetDlgItemText (dlg, IDC_CLIPEDIT_CLEAR, _("Clea&r"));

Legend:
Removed from v.229  
changed lines
  Added in v.231

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26