From 3cbff0285ee38910d33aca81d1bedbbbb985b425 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Mon, 14 Jun 2004 16:35:58 +0000 Subject: [PATCH] #206716 r=brade, sr=kin use String not CString APIs for some composer APIs --- editor/ui/composer/content/ComposerCommands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/ui/composer/content/ComposerCommands.js b/editor/ui/composer/content/ComposerCommands.js index 8ff72881b21..1c929d52366 100644 --- a/editor/ui/composer/content/ComposerCommands.js +++ b/editor/ui/composer/content/ComposerCommands.js @@ -399,7 +399,7 @@ function pokeMultiStateUI(uiID, cmdParams) if (isMixed) desiredAttrib = "mixed"; else - desiredAttrib = cmdParams.getCStringValue("state_attribute"); + desiredAttrib = cmdParams.getStringValue("state_attribute"); var uiState = commandNode.getAttribute("state"); if (desiredAttrib != uiState) @@ -421,7 +421,7 @@ function doStatefulCommand(commandID, newState) var cmdParams = newCommandParams(); if (!cmdParams) return; - cmdParams.setCStringValue("state_attribute", newState); + cmdParams.setStringValue("state_attribute", newState); goDoCommandParams(commandID, cmdParams); pokeMultiStateUI(commandID, cmdParams);