changeset 345:2ed43f483e9d

Update the copyright dates in preparation for a new 2021 release.
author Brian Smith <brian@dbsoft.org>
date Mon, 14 Dec 2020 17:46:55 -0600
parents 2532434a7209
children a6c34fe4dc4a
files dwib.c install/scripts/license.txt
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dwib.c	Sun Dec 13 07:10:12 2020 -0600
+++ b/dwib.c	Mon Dec 14 17:46:55 2020 -0600
@@ -6775,7 +6775,7 @@
         HWND vbox = dw_box_new(DW_VERT, 0);
         HWND hbox = dw_box_new(DW_HORZ, 0);
         HWND item = dw_text_new(APP_NAME, 0);
-        char verbuf[100] = {0};
+        char verbuf[101] = {0};
         
         hwndAbout = dw_window_new(DW_DESKTOP, "About", DW_FCF_COMPOSITED | DW_FCF_TEXTURED |
                                   DW_FCF_TITLEBAR | DW_FCF_SYSMENU | DW_FCF_TASKLIST | DW_FCF_DLGBORDER);
@@ -6784,10 +6784,10 @@
         dw_window_set_style(item, DW_DT_CENTER, DW_DT_CENTER);
         dw_box_pack_start(hwndAbout, vbox, 0, 0, TRUE, TRUE, 0);
         dw_box_pack_start(vbox, item, -1, -1, TRUE, FALSE, 0);
-        item = dw_text_new("Brian Smith © 2011-2019", 0);
+        item = dw_text_new("Brian Smith © 2011-2021", 0);
         dw_window_set_style(item, DW_DT_CENTER, DW_DT_CENTER);
         dw_box_pack_start(vbox, item, -1, -1, TRUE, FALSE, 0);
-        sprintf(verbuf, "%d.%d.%d", VER_MAJ, VER_MIN, VER_REV);
+        snprintf(verbuf, 100, "%d.%d.%d", VER_MAJ, VER_MIN, VER_REV);
         item = dw_text_new(verbuf, 0);
         dw_window_set_style(item, DW_DT_CENTER, DW_DT_CENTER);
         dw_box_pack_start(vbox, item, -1, -1, TRUE, FALSE, 0);
--- a/install/scripts/license.txt	Sun Dec 13 07:10:12 2020 -0600
+++ b/install/scripts/license.txt	Mon Dec 14 17:46:55 2020 -0600
@@ -1,7 +1,7 @@
 Copyright Information About Dynamic Windows Interface Builder.
 
-Copyright (c) 2011-2020, Brian Smith <brian@dbsoft.org>
-Copyright (c) 2012-2020, Mark Hessling <mark@rexx.org>
+Copyright (c) 2011-2021, Brian Smith <brian@dbsoft.org>
+Copyright (c) 2012-2021, Mark Hessling <mark@rexx.org>
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification,