Author: ug Date: Thu Aug 16 14:33:53 2007 New Revision: 40318 URL: http://svn.opensuse.org/viewcvs/yast?rev=40318&view=rev Log: suppress a warning Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/include/conftree.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=40318&r1=40317&r2=40318&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu Aug 16 14:33:53 2007 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Aug 16 14:33:07 CEST 2007 - ug@suse.de + +- suppress a warning + +------------------------------------------------------------------- Wed Aug 15 14:12:22 CEST 2007 - ug@suse.de - fix for the support of the new "keep install network" Modified: trunk/autoinstallation/src/include/conftree.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/include/conftree.ycp?rev=40318&r1=40317&r2=40318&view=diff ============================================================================== --- trunk/autoinstallation/src/include/conftree.ycp (original) +++ trunk/autoinstallation/src/include/conftree.ycp Thu Aug 16 14:33:53 2007 @@ -82,7 +82,10 @@ string summary = (string) WFM::CallFunction( module_auto, ["Summary"]); string caption = resourceMap["Name"]:""; string currentFile = AutoinstConfig::currentFile; - currentFile = substring( currentFile, findlastof(currentFile,"/")+1 ); + integer filenameIndex = findlastof(currentFile,"/"); + if( filenameIndex != nil ) { + currentFile = substring( currentFile, filenameIndex+1 ); + } if( size(currentFile) > 0 ) { caption = caption + " - " + currentFile; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org