diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:15 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:15 +0900 |
commit | 0253adc833bb041c8a88b4d610aded01ce4e75f4 (patch) | |
tree | 4a1a02361dce286bc89563bab9212ff7b71b95b5 /build-aux | |
parent | 6f2e2cc2b171ed4a631d26590eb4ccd4a89347b2 (diff) | |
download | gpg2-0253adc833bb041c8a88b4d610aded01ce4e75f4.tar.gz gpg2-0253adc833bb041c8a88b4d610aded01ce4e75f4.tar.bz2 gpg2-0253adc833bb041c8a88b4d610aded01ce4e75f4.zip |
Imported Upstream version 2.1.16upstream/2.1.16
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/speedo/w32/exdll.h | 2 | ||||
-rw-r--r-- | build-aux/speedo/w32/g4wihelp.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/build-aux/speedo/w32/exdll.h b/build-aux/speedo/w32/exdll.h index e5ba3bb..bb13ae0 100644 --- a/build-aux/speedo/w32/exdll.h +++ b/build-aux/speedo/w32/exdll.h @@ -23,7 +23,7 @@ * 3. This notice may not be removed or altered from any source * distribution. ************************************************************ - * 2005-11-14 wk Applied license text to orginal exdll.h file from + * 2005-11-14 wk Applied license text to original exdll.h file from * NSIS 2.0.4 and did some formatting changes. */ diff --git a/build-aux/speedo/w32/g4wihelp.c b/build-aux/speedo/w32/g4wihelp.c index d2c93e7..012e4af 100644 --- a/build-aux/speedo/w32/g4wihelp.c +++ b/build-aux/speedo/w32/g4wihelp.c @@ -23,7 +23,7 @@ ************************************************************ * The code for the splash screen has been taken from the Splash * plugin of the NSIS 2.04 distribution. That code comes without - * explicit copyright notices in tyhe source files or author names, it + * explicit copyright notices in the source files or author names, it * seems that it has been written by Justin Frankel; not sure about * the year, though. [wk 2005-11-28] * @@ -70,12 +70,12 @@ dummy (HWND hwndParent, int string_size, char *variables, // do your stuff here { char buf[1024]; - snprintf (buf, sizeof buf - 1, "$R0=%s\r\n$R1=%s\r\n", + snprintf (buf, sizeof buf, "$R0=%s\r\n$R1=%s\r\n", getuservariable(INST_R0), getuservariable(INST_R1)); MessageBox (g_hwndParent,buf,0,MB_OK); - snprintf (buf, sizeof buf - 1, + snprintf (buf, sizeof buf, "autoclose =%d\r\n" "all_user_var =%d\r\n" "exec_error =%d\r\n" @@ -278,7 +278,7 @@ void service_error (const char *str) { char buf[1024]; - snprintf (buf, sizeof (buf) - 1, "error: %s: ec=%d\r\n", str, + snprintf (buf, sizeof (buf), "error: %s: ec=%d\r\n", str, GetLastError ()); MessageBox(g_hwndParent, buf, 0, MB_OK); @@ -575,7 +575,7 @@ service_stop (HWND hwndParent, int string_size, char *variables, if (GetTickCount () - start_time > timeout) { char buf[1024]; - snprintf (buf, sizeof (buf) - 1, + snprintf (buf, sizeof (buf), "time out waiting for service %s to stop\r\n", service_name); MessageBox (g_hwndParent, buf, 0, MB_OK); |