Skip to content

Commit 93c011d

Browse files
committed
Fix msgs spelling
1 parent 0035b1f commit 93c011d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

mdPrintImages.bas

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ Public Function PrintImages( _
128128
Dim baImage() As Byte
129129
Dim lTargetX As Long
130130
Dim lTargetY As Long
131-
Dim lTargetW As Long
132-
Dim lTargetH As Long
131+
Dim lTargetW As Long
132+
Dim lTargetH As Long
133133

134134
On Error GoTo EH
135135
'--- will use GDI+ to retrieve input images dimensions

mdStartup.bas

+5-4
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ Private Sub Main()
6363
End Sub
6464

6565
Private Function Process(vArgs As Variant) As Long
66-
Dim sPrinterName As String
6766
Dim cFiles As Collection
6867
Dim vInputFiles As Variant
68+
Dim sPrinterName As String
6969
Dim lIdx As Long
7070
Dim sError As String
7171
Dim lPos As Long
@@ -84,7 +84,8 @@ Private Function Process(vArgs As Variant) As Long
8484
If LenB(m_oOpt.Item("error")) <> 0 Then
8585
ConsoleError "Error in command line: " & m_oOpt.Item("error") & vbCrLf & vbCrLf
8686
If Not (m_oOpt.Item("-h") Or m_oOpt.Item("-?") Or m_oOpt.Item("arg0") = "?") Then
87-
Exit Function
87+
Process = 1
88+
GoTo QH
8889
End If
8990
End If
9091
If m_oOpt.Item("#arg") < 0 Or m_oOpt.Item("-h") Or m_oOpt.Item("-?") Or m_oOpt.Item("arg0") = "?" Then
@@ -99,7 +100,7 @@ Private Function Process(vArgs As Variant) As Long
99100
If m_oOpt.Item("#arg") < 0 Then
100101
Process = 100
101102
End If
102-
Exit Function
103+
GoTo QH
103104
End If
104105
Set cFiles = New Collection
105106
For lIdx = 0 To m_oOpt.Item("#arg")
@@ -181,7 +182,7 @@ Private Function Process(vArgs As Variant) As Long
181182
Next
182183
If FileExists(m_oOpt.Item("-o")) Then
183184
If Not m_oOpt.Item("-q") Then
184-
ConsoleError m_oOpt.Item("-o") & " output sucesfully!" & vbCrLf & vbCrLf
185+
ConsoleError m_oOpt.Item("-o") & " output successfully!" & vbCrLf & vbCrLf
185186
End If
186187
End If
187188
QH:

0 commit comments

Comments
 (0)