diff src/name/blackcap/imageprep/Misc.kt @ 1:0bded24f746e

Compiles, still untested.
author David Barts <n5jrn@me.com>
date Thu, 16 Jul 2020 21:51:08 -0700
parents e0efe7848130
children 884f1415a330
line wrap: on
line diff
--- a/src/name/blackcap/imageprep/Misc.kt	Thu Jul 16 19:57:23 2020 -0700
+++ b/src/name/blackcap/imageprep/Misc.kt	Thu Jul 16 21:51:08 2020 -0700
@@ -234,7 +234,7 @@
 }
 
 fun ioExceptionDialog(parent: Component, file: File, op: String, e: IOException) {
-    val msg = e.getMessage()
+    val msg = e.message
     val fileName = file.getName()
     val dmsg = if (msg.isNullOrEmpty()) {
         "Unable to ${op} ${fileName}."