Merged changes in the trunk up to revision 36551.
[blender.git] / source / blender / blenkernel / intern / library.c
index a9bd72f43fa2571e05bae438abbbf32354bc737a..cddac4db73944fc16d5ac9c108f77776d56fd128 100644 (file)
@@ -1395,7 +1395,7 @@ void text_idbutton(struct ID *id, char *text)
        if(id) {
                if(GS(id->name)==ID_SCE)
                        strcpy(text, "SCE: ");
-               else if(GS(id->name)==ID_SCE)
+               else if(GS(id->name)==ID_SCR)
                        strcpy(text, "SCR: ");
                else if(GS(id->name)==ID_MA && ((Material*)id)->use_nodes)
                        strcpy(text, "NT: ");