*/}}
Ver código fonte

Comment node copy fix

YimingWu 1 ano atrás
pai
commit
ef6926422e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      resources/la_nodes_basic.c

+ 1 - 1
resources/la_nodes_basic.c

@@ -757,7 +757,7 @@ int IDN_CommentVisit(laCommentNode* n, laNodeVisitInfo* vi){
 int IDN_CommentEval(laCommentNode* n){ return 1; }
 void IDN_CommentCopy(laCommentNode* new, laCommentNode* old, int DoRematch){
     if(DoRematch){ return; }
-    strSafeSet(new->Content,old->Content?old->Content->Ptr:0);
+    strSafeSet(&new->Content,old->Content?old->Content->Ptr:0);
 }
 void laui_CommentNode(laUiList *uil, laPropPack *This, laPropPack *Extra, laColumn *UNUSED, int context){
     laColumn* c=laFirstColumn(uil); laCommentNode*n=This->EndInstance;