Skip to content

Commit c089991

Browse files
committed
Fix misspellings of "HVSC", fixes bug #2101
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45401 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent c3781af commit c089991

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

vice/src/arch/gtk3/widgets/settings_hvsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ GtkWidget *settings_hvsc_widget_create(GtkWidget *parent)
101101

102102
grid = vice_gtk3_grid_new_spaced(VICE_GTK3_DEFAULT, VICE_GTK3_DEFAULT);
103103

104-
label = gtk_label_new("HSVC root directory");
104+
label = gtk_label_new("HVSC root directory");
105105
gtk_widget_set_halign(label, GTK_ALIGN_START);
106106
hvsc_root_entry = vice_gtk3_resource_entry_new("HVSCRoot");
107107
gtk_widget_set_hexpand(hvsc_root_entry, TRUE);

vice/src/hvsc/base.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ void hvsc_set_paths(const char *path)
545545
}
546546

547547

548-
/** \brief Free memory used by the HSVC paths
548+
/** \brief Free memory used by the HVSC paths
549549
*/
550550
void hvsc_free_paths(void)
551551
{
@@ -568,7 +568,7 @@ void hvsc_free_paths(void)
568568
}
569569

570570

571-
/** \brief Strip the HSVC root path from \a path
571+
/** \brief Strip the HVSC root path from \a path
572572
*
573573
* \param[in] path path to a PSID file inside the HVSC
574574
*
@@ -579,15 +579,15 @@ void hvsc_free_paths(void)
579579
char *hvsc_path_strip_root(const char *path)
580580
{
581581
size_t plen = strlen(path); /* length of path */
582-
size_t rlen = (hvsc_root_path == NULL) ? 0 : strlen(hvsc_root_path); /* length of HSVC root path */
582+
size_t rlen = (hvsc_root_path == NULL) ? 0 : strlen(hvsc_root_path); /* length of HVSC root path */
583583
char *result;
584584

585585
if (rlen == 0) {
586586
result = hvsc_strdup(path);
587587
} else if (plen <= rlen) {
588588
result = hvsc_strdup(path);
589589
} else if (memcmp(path, hvsc_root_path, rlen) == 0) {
590-
/* got HSVC root path */
590+
/* got HVSC root path */
591591
result = hvsc_malloc(plen - rlen + 1u);
592592
memcpy(result, path + rlen, plen - rlen + 1u);
593593
} else {

vice/src/hvsc/hvsc_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* This number indicates API version, when this number changes it means there
5050
* are incompatible changes in the API. Set via the Makefile.
5151
*/
52-
#ifndef HSVC_LIB_VERSION_MAJ
52+
#ifndef HVSC_LIB_VERSION_MAJ
5353
#define HVSC_LIB_VERSION_MAJ 0
5454
#endif
5555

vice/src/hvsc/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
/** \brief Initialize the library
4545
*
46-
* This sets the paths to the HSVC and the SLDB, STIL, and BUGlist files.
46+
* This sets the paths to the HVSC and the SLDB, STIL, and BUGlist files.
4747
*
4848
* The \a path is expected to be an absolute path to the HVSC's root directory,
4949
* or `NULL` to use the environment variable `HVSC_BASE`.

0 commit comments

Comments
 (0)