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

Diff of /trunk/Src/wptVerifyList.cpp

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

revision 31 by twoaday, Wed Oct 12 10:04:26 2005 UTC revision 32 by twoaday, Mon Oct 24 08:03:48 2005 UTC
# Line 60  const char * Line 60  const char *
60  strtimestamp (long timestamp)  strtimestamp (long timestamp)
61  {  {
62      static char timebuf[64] = {0};      static char timebuf[64] = {0};
63      struct tm * warp;      struct tm *warp;
64            
65      warp = localtime (&timestamp);      warp = localtime (&timestamp);
66      _snprintf (timebuf, sizeof timebuf - 1, "%04d-%02d-%02d %02d:%02d:%02d",      _snprintf (timebuf, sizeof timebuf - 1, "%04d-%02d-%02d %02d:%02d:%02d",
# Line 104  verlist_build (listview_ctrl_t *lv, HWND Line 104  verlist_build (listview_ctrl_t *lv, HWND
104          {2, 115, (char *)_("Signed") },          {2, 115, (char *)_("Signed") },
105          {3,  58, (char *)_("Trust") },                    {3,  58, (char *)_("Trust") },          
106          {4, 160, (char *)_("User ID") },          {4, 160, (char *)_("User ID") },
107          {5, 0, NULL }          {5, 0, NULL}
108                    
109      };      };
110      struct listview_column_s verlist[] = {            struct listview_column_s verlist[] = {      
# Line 112  verlist_build (listview_ctrl_t *lv, HWND Line 112  verlist_build (listview_ctrl_t *lv, HWND
112          {1, 120, (char *)_("Signed") },          {1, 120, (char *)_("Signed") },
113          {2,  58, (char *)_("Trust") },          {2,  58, (char *)_("Trust") },
114          {3,  80, (char *)_("Key ID" )},          {3,  80, (char *)_("Key ID" )},
115          {4, 160, (char *)_("User ID") },                  {4, 160, (char *)_("User ID") },
116          {5, 0, NULL }            {5, 0, NULL}
117      };      };
118            
119      rc = listview_new( &c );      rc = listview_new (&c);
120      if( rc )      if (rc)
121          return rc;          return rc;
122            
123      c->ctrl = ctrl;      c->ctrl = ctrl;

Legend:
Removed from v.31  
changed lines
  Added in v.32

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26