Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e643af7

Browse files
committed
[18606] Ensure setting the imagesource to a remote image works
1 parent c19f1d1 commit e643af7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/notes/bugfix-18606.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure setting the imagesource of a char to a remote image works

engine/src/dispatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2050,7 +2050,7 @@ MCObject *MCDispatch::getobjname(Chunk_term type, MCNameRef p_name)
20502050
MCU_geturl(*ctxt, MCNameGetString(p_name), &t_output);
20512051
// SN-2014-05-09 [[ Bug 12409 ]] Fields in LC 7 fail to display binfile url imagesource
20522052
// isempty is not what we want to use, since it returns false for a cleared result
2053-
if (MCresult->isclear())
2053+
if (MCresult->isclear() || MCresult->isempty())
20542054
{
20552055
MCAutoDataRef t_data;
20562056

0 commit comments

Comments
 (0)