Skip to content

Commit 481d847

Browse files
committed
fix copypaste bug, makes formfeed for userport printer work again
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45811 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent 3476966 commit 481d847

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
#define PRINTER_NUM 4 /**< number of printer devices supported */
7272
#define PRINTER_MIN 4 /**< lowest device number for a printer */
7373
#define PRINTER_MAX 7 /**< highest device number for a printer */
74-
#define PRINTER_USERPORT 3 /**< userport printer virtual device number */
7574

7675

7776
/** \brief GtkStack child data */
@@ -136,7 +135,6 @@ static const child_t children[] = {
136135
.title = "OpenCBM 7",
137136
.name = "opencbm7",
138137
.device = 7,
139-
.device_drv = PRINTER_USERPORT, /* 3 */
140138
.has_trapdev = true,
141139
.has_iec = true,
142140
.has_realdev = true,
@@ -145,6 +143,7 @@ static const child_t children[] = {
145143
.title = "Userport",
146144
.name = "userport",
147145
.device = 3,
146+
.device_drv = PRINTER_USERPORT, /* 3 */
148147
.has_userport = true,
149148
.has_driver = true,
150149
.has_outmode = true,

0 commit comments

Comments
 (0)