Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 0e11008

Browse filesBrowse files
Merge pull request #6832 from livecodepanos/bugfix-18606
[18606] Ensure setting the imagesource to a remote image works
2 parents d5bab42 + e643af7 commit 0e11008
Copy full SHA for 0e11008

File tree

Expand file treeCollapse file tree

2 files changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-1
lines changed

‎docs/notes/bugfix-18606.md

Copy file name to clipboard
+1Lines 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

Copy file name to clipboardExpand all lines: engine/src/dispatch.cpp
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.